v4.5.0 #31
Workflow file for this run
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: Publish | |
on: | |
release: | |
types: [released] | |
concurrency: | |
group: publish | |
cancel-in-progress: true | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
flakehub: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref_name }} | |
- name: Install Nix | |
uses: cachix/install-nix-action@V27 | |
- name: Publish flake | |
uses: DeterminateSystems/flakehub-push@v4 | |
with: | |
tag: ${{ github.ref_name }} | |
visibility: public | |
# INFO: The following fork updates the Nix version used by the action to fix | |
# the "lastModified" issue. https://flakehub.com/docs/faq#err-last-modified | |
flakestry: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Publish flake | |
uses: stackbuilders/flakestry-publish@update_install_nix_action | |
with: | |
version: ${{ github.ref_name }} |