Skip to content

Create pre-release for v1.1.1-alpha9 #16

Create pre-release for v1.1.1-alpha9

Create pre-release for v1.1.1-alpha9 #16

Workflow file for this run

on:
push:
tags:
- "v*-rc*"
- "v*-alpha*"
- "v*-beta*"
name: Create pre-release
run-name: Create pre-release for `${{ github.ref_name }}`
jobs:
release-wasm:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: 17
platform: x64
- name: Cache cargo-msfs
uses: actions/cache@v4
with:
path: $HOME/.cargo/bin
key: ${{ runner.os }}-cargo-msfs
# - name: Setup
# run: npm run setup
- name: Build WASM module
run: npm run build:wasm-workflow
- name: Pre-Release
uses: softprops/action-gh-release@v1
with:
files: ./out/msfs_navigation_data_interface.wasm
prerelease: true
generate_release_notes: true
# Enable in future to automate publishing of NPM package
# release-js:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: "18"
# registry-url: 'https://registry.npmjs.org'
# cache: "npm"
# - name: Install node modules
# run: npm ci
# - name: Build JS Interface
# run: cd src/js && npm run build
# - name: Publish to NPM
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: cd src/js && npm publish --tag next