Bump peter-evans/create-pull-request from 6 to 7 #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Latest release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Latest release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
with: | |
extra-conf: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
extra-substituters = https://tek.cachix.org | |
extra-trusted-public-keys = tek.cachix.org-1:+sdc73WFq8aEKnrVv5j/kuhmnW2hQJuqdPJF5SnaCBk= | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: tek | |
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }} | |
- run: rm -rf /opt/hostedtoolcache | |
- name: build static | |
run: nix build .#hix.appimage | |
- uses: softprops/action-gh-release@v2 | |
name: Create release | |
with: | |
tag_name: latest | |
name: latest | |
prerelease: true | |
files: | | |
result/bin/hix |