Files
mingw-sword-build/.github/workflows/build.yml
T
Greg Hellings 8ca6eb9c0b
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
build.yml / release (push) Skipped
buildbot/nix-effects Build done.
build.yml / build (ucrt) (push) Failing after 8m45s
build.yml / build (x86) (push) Failing after 11m6s
Use gitea artifact actions
2026-08-06 07:58:57 -05:00

40 lines
822 B
YAML

"on":
pull_request:
workflow_dispatch:
push:
branches:
- main
tags:
- "*"
jobs:
build:
runs-on: nix-latest
strategy:
matrix:
arch:
- x86
- ucrt
steps:
- uses: actions/checkout@v6
- name: Build
run: nix run -L ".#${{ matrix.arch }}"
- name: Upload artifact
uses: https://gitea.com/actions/upload-artifact@v7
with:
name: ${{ matrix.arch }}
path: "*.tar.xz"
release:
needs: build
runs-on: nix-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Download artifacts
uses: https://gitea.com/actions/download-artifact@v8
- name: Create release
uses: actions/gitea-release-action@v1
with:
files: |-
"*.tar.xz"