Skip to content

Commit

Permalink
ci: add a publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
louib committed Aug 23, 2023
1 parent 7746692 commit 19f9d9b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,21 @@ jobs:
override: true
- name: run cargo test
run: cargo test --all-features

publish:
needs:
- test
runs-on: ubuntu-latest
permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- run: |
: build the nix flake
nix build .#
- uses: DeterminateSystems/flakehub-push@main
with:
visibility: "public"
rolling: true

0 comments on commit 19f9d9b

Please sign in to comment.