diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 22a313f..b962290 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -12,10 +12,22 @@ jobs: with: name: morffix path: morffix + release: + runs-on: docker + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.22' + - run: go build - uses: actions/forgejo-release@eb0fcc44a150c0de82e6fdb36752dd56bf27d017 with: direction: upload url: https://git.soontm.de - release-dir: morffix + release-dir: ./ release-notes: "New Release" - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }} + + + \ No newline at end of file