Skip to content

Try this other action #12

Try this other action

Try this other action #12

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
check:
runs-on: ubuntu-22.04
permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Run `nix build`
run: nix build .
- name: Collect files
run: |
mkdir upload
cp ./result/rsp-ruination.z64 upload
- name: Upload files
uses: actions/upload-artifact@master
with:
name: rsp-ruination
path: upload
- name: Generate Release
if: github.ref == 'refs/heads/trunk'
uses: softprops/action-gh-release@v1
with:
draft: false
prerelease: false
body_path: CHANGELOG
generate_release_notes: false
name: 'Latest Development Version'
tag_name: "latest"
files: |
./result/rsp-ruination.z64