agecem-org/.forgejo/workflows/basic.yaml
Victor Lacasse-Beaudoin 243bae038e
Some checks failed
/ build (push) Successful in 1m44s
/ help (push) Failing after 8s
ci(basic): fix artifacts qui ne se passent pas
2025-07-11 20:24:02 -04:00

29 lines
658 B
YAML

on:
push:
branches:
- 'main'
- 'vlbeaudoin/*'
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: go build -a -o agecem-org ./cmd/agecemorg/
- 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: ls -al
- run: mv agecem-org /usr/bin/agecem-org
- run: agecem-org help