ci(basic): fix artifacts qui ne se passent pas
Some checks failed
/ build (push) Successful in 1m44s
/ help (push) Failing after 8s

This commit is contained in:
Victor Lacasse-Beaudoin 2025-07-11 20:24:02 -04:00
parent 9769fdb2de
commit 243bae038e

View file

@ -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