Skip to content

Commit

Permalink
chore(ci): Update release template
Browse files Browse the repository at this point in the history
  • Loading branch information
drager committed Jun 30, 2021
1 parent fcb81af commit d908dcb
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
on:
push:
tags:
- "v*" # Run when tag matches v*, i.e. v1.0, v20.15.10
- 'v*' # Run when tag matches v*, i.e. v1.0, v20.15.10

name: Release

env:
RELEASE_BIN: wasm-pack
RELEASE_DIR: artifacts
GITHUB_REF: "${{ github.ref }}"
GITHUB_REF: '${{ github.ref }}'
WINDOWS_TARGET: x86_64-pc-windows-msvc
MACOS_TARGET: x86_64-apple-darwin
LINUX_TARGET: x86_64-unknown-linux-musl
Expand Down Expand Up @@ -36,6 +36,11 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
target: wasm32-unknown-unknow

- name: Query version number
id: get_version
Expand All @@ -44,12 +49,6 @@ jobs:
echo "using version tag ${GITHUB_REF:10}"
echo ::set-output name=version::"${GITHUB_REF:10}"
- name: Install Rust
if: matrix.rust
run: |
rustup update ${{ matrix.rust }} --no-self-update
rustup default ${{ matrix.rust }}
- name: Install musl-tools (Linux)
if: matrix.build == 'linux'
run: |
Expand Down

0 comments on commit d908dcb

Please sign in to comment.