diff options
Diffstat (limited to '.gitea/workflows')
| -rw-r--r-- | .gitea/workflows/release.yml | 7 | ||||
| -rw-r--r-- | .gitea/workflows/static.yml | 10 |
2 files changed, 13 insertions, 4 deletions
diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f6e31095..38a9330b 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -8,11 +8,14 @@ on: jobs: release: name: Create release - runs-on: nix + runs-on: rosa steps: - name: Checkout uses: actions/checkout@v4 + - name: Install nix + uses: cachix/install-nix-action@v31 + - name: Process static files run: >- nix build \ @@ -26,4 +29,4 @@ jobs: with: files: |- hakurei.app-**.tar.zst - api_key: '${{secrets.RELEASE_TOKEN}}' + api_key: '${{ github.token }}' diff --git a/.gitea/workflows/static.yml b/.gitea/workflows/static.yml index ecab9d63..721223cc 100644 --- a/.gitea/workflows/static.yml +++ b/.gitea/workflows/static.yml @@ -7,21 +7,27 @@ on: jobs: check: name: Flake checks - runs-on: nix + runs-on: rosa steps: - name: Checkout uses: actions/checkout@v4 + - name: Install nix + uses: cachix/install-nix-action@v31 + - name: Run checks run: nix --print-build-logs --experimental-features 'nix-command flakes' flake check dist: name: Create distribution - runs-on: nix + runs-on: rosa steps: - name: Checkout uses: actions/checkout@v4 + - name: Install nix + uses: cachix/install-nix-action@v31 + - name: Process static files id: static-test run: >- |
