Merge pull request 'Implémenter workflow d'intégration continue de base' (#247) from vlbeaudoin/actions into main
All checks were successful
/ build (push) Successful in 2m0s
/ help (push) Successful in 8s

Reviewed-on: #247
This commit is contained in:
Victor Lacasse-Beaudoin 2025-07-12 22:15:13 -04:00
commit 64fbfbddca

View file

@ -0,0 +1,30 @@
on:
push:
branches:
- 'main'
- 'vlbeaudoin/*'
pull_request:
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- run: mkdir -p artifacts
- uses: actions/setup-go@v5
with:
go-version: '1.24.5'
- run: make go-build
- uses: actions/upload-artifact@v3
with:
name: executable
path: agecem-org
help:
needs: [build]
runs-on: docker
steps:
- uses: actions/download-artifact@v3
with:
name: executable
- run: chmod +x agecem-org
- run: mv agecem-org /usr/bin/agecem-org
- run: agecem-org help