MWDK updated to 3.0.2 to properly emit build-info file #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Widget Release Build | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-alpha[0-9]+' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.13.0] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Test and build with node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup GIT user | |
uses: fregante/setup-git-user@v1 | |
- run: yarn install --frozen-lockfile | |
- run: yarn build | |
- name: Upload Release .wigt | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: build/_output/* | |
tag: ${{ github.ref }} | |
overwrite: true | |
file_glob: true |