Skip to content

canceling existing workflow #20

canceling existing workflow

canceling existing workflow #20

Workflow file for this run

name: build artifacts wasm
on: [push]
permissions:
actions: write
content: write

Check failure on line 7 in .github/workflows/Release.yml

View workflow run for this annotation

GitHub Actions / build artifacts wasm

Invalid workflow file

The workflow is not valid. .github/workflows/Release.yml (Line: 7, Col: 3): Unexpected value 'content'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
all_but_latest: true
- name: Checkout sources
uses: actions/checkout@v2
- name: Install cargo-run-script
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-run-script
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
- uses: sigoden/install-binary@v1
with:
repo: WebAssembly/binaryen
name: wasm-opt
- name: Build WASM files
run: bash ./build.sh all
env:
SOME_ENV_VAR: value
- uses: actions/upload-artifact@v4
with:
name: my-artifact
path: ./artifacts/