Add release step to builds
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
build.yml / build (ucrt) (push) Failing after 11m0s
build.yml / build (x86) (push) Failing after 11m8s
build.yml / release (push) Skipped

This commit is contained in:
Greg Hellings
2026-08-05 22:01:36 -05:00
parent 73b70b5bc7
commit a50754a3cc
+18
View File
@@ -19,3 +19,21 @@ jobs:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- name: Build - name: Build
run: nix run -L ".#${{ matrix.arch }}" run: nix run -L ".#${{ matrix.arch }}"
- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.arch }}
path: "*.zip"
release:
needs: build
runs-on: nix-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Download artifacts
uses: actions/download-artifact@v8
- name: Create release
uses: actions/gitea-release-action@v1
with:
files: |-
"*.zip"