Skip to content

Commit

Permalink
Update github action to actually attach build artifacts to release
Browse files Browse the repository at this point in the history
  • Loading branch information
mulias committed Jul 7, 2024
1 parent 91d2b81 commit 0d70646
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/artifacts.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: nicknovitski/nix-develop@v1
- run: ./bin/test-all
- run: zig build release
- uses: softprops/action-gh-release@v2
with:
prerelease: true
files: |
zig-out/bin/possum.wasm
zig-out/bin/possum_aarch64-macos
zig-out/bin/possum_x86_64-macos
zig-out/bin/possum_x86_64-linux-gnu
zig-out/bin/possum_x86_64-linux-musl

0 comments on commit 0d70646

Please sign in to comment.