Skip to content

Commit

Permalink
feat(#47): add action for releases (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalebpace authored Dec 15, 2024
1 parent 0047bfc commit 322d810
Show file tree
Hide file tree
Showing 5 changed files with 642 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
push:
tags:
- v*

jobs:
check:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/flake-checker-action@main

release:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: Release all platforms
run: nix run .#release
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@ tmp/
*.wasm

cert.pem
key.pem
key.pem

# nix
/result/
/result-.*/

dist/
Loading

0 comments on commit 322d810

Please sign in to comment.