Skip to content

Commit

Permalink
release: more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Jul 10, 2023
1 parent 4cdd9c0 commit 31ae596
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,36 @@ on:
- major
default: minor

env:
RUST_LOG: debug
CARGO_INCREMENTAL: 0

jobs:
release:
env:
CARGO_INCREMENTAL: 0
CI: true
GITHUB_TOKEN: ${{ secrets.ACTION_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
RUST_LOG: debug
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Need history for changelog generation
- uses: pnpm/[email protected]
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: lts/*
registry-url: https://registry.npmjs.org
cache: pnpm
- run: pnpm i --frozen-lockfile
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
target: wasm32-wasi
- name: Install cargo bump
run: cargo install cargo-bump
- name: Bump cargo version
run: cargo bump ${{ inputs.version }}
- name: Build plugin
run: cargo build --release --target wasm32-wasi
- name: Registry auth
Expand All @@ -46,5 +51,7 @@ jobs:
run: |
git config --global user.name ${{ secrets.ACTION_GITHUB_USERNAME }};
git config --global user.email ${{ secrets.ACTION_GITHUB_EMAIL }};
- name: out
run: echo $(git config user.name) && echo $(git config user.email)
- name: Perform release
run: pnpm run release --ci ${{ github.event.inputs.version }}

0 comments on commit 31ae596

Please sign in to comment.