diff --git a/.forgejo/workflows/basic.yaml b/.forgejo/workflows/basic.yaml new file mode 100644 index 0000000..b9912c3 --- /dev/null +++ b/.forgejo/workflows/basic.yaml @@ -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