Skip to content

Latest release

Latest release #156

Workflow file for this run

name: Latest release
on:
workflow_run:
workflows: [tests]
types: [completed]
branches: [main]
jobs:
release:
name: Latest release
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v16
with:
name: tek
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- run: rm -rf /opt/hostedtoolcache
- name: Build the AppImage binary
run: nix build .#min.appimage
- uses: softprops/action-gh-release@v2
name: Create release
with:
tag_name: latest
name: latest
prerelease: true
files: |
result/bin/hix