ci(basic): fix artifacts qui ne se passent pas
This commit is contained in:
parent
9769fdb2de
commit
243bae038e
1 changed files with 6 additions and 4 deletions
|
@ -12,16 +12,18 @@ jobs:
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.24.5'
|
go-version: '1.24.5'
|
||||||
- run: go build -a -o artifacts/agecem-org ./cmd/agecemorg/
|
- run: go build -a -o agecem-org ./cmd/agecemorg/
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: artifacts/
|
name: executable
|
||||||
|
path: agecem-org
|
||||||
help:
|
help:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: artifacts/
|
name: executable
|
||||||
- run: mv artifacts/agecem-org /usr/bin/agecem-org
|
- run: ls -al
|
||||||
|
- run: mv agecem-org /usr/bin/agecem-org
|
||||||
- run: agecem-org help
|
- run: agecem-org help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue