feat: test upload artifact
This commit is contained in:
parent
fcaa7dff04
commit
01d7683aed
1 changed files with 9 additions and 0 deletions
|
|
@ -12,6 +12,10 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: '^1.25'
|
||||
|
||||
- name: Build Go app
|
||||
run: |
|
||||
|
|
@ -19,6 +23,11 @@ jobs:
|
|||
go mod tidy
|
||||
go build -o nyanimedb .
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: nyanimedb
|
||||
path: nyanimedb
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
cd modules/server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue