Skip to content

Commit

Permalink
Publish binaries in release
Browse files Browse the repository at this point in the history
  • Loading branch information
folex committed Jun 3, 2021
1 parent 9f9b179 commit 6c8ad02
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- "master"
- "main"
- "no_unit"

jobs:
npm-publish:
Expand Down Expand Up @@ -55,8 +56,11 @@ jobs:
echo "VERSION=$VERSION" | tee -a $GITHUB_ENV
echo "PKG_NAME=$PKG_NAME" | tee -a $GITHUB_ENV
- name: Publish to crates.io
run: cargo ws publish --no-git-commit --from-git --skip-published --yes
# - name: Publish to crates.io
# run: cargo ws publish --no-git-commit --from-git --skip-published --yes

- name: Build release binaries of marine & mrepl
run: cargo build --release -p marine -p mrepl

### Create a pre-release
- name: Create Release
Expand All @@ -69,5 +73,8 @@ jobs:
release_name: Marine WASM Runtime ${{ env.VERSION }}
body: |
- [${{ env.VERSION }} @ crates.io](https://crates.io/crates/${{ env.PKG_NAME }}/${{ env.VERSION }})
files: |
target/release/marine
target/release/mrepl
draft: false
prerelease: false

0 comments on commit 6c8ad02

Please sign in to comment.