mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-25 01:58:39 +02:00
Add missing bootstrap step to release workflow
This commit is contained in:
71
.github/workflows/release.yml
vendored
71
.github/workflows/release.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Generate Artifacts
|
name: Generate Artifacts
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: [ v* ]
|
tags: [v*]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-artifacts:
|
build-artifacts:
|
||||||
@@ -13,37 +13,37 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: 'macos-latest' # for Arm-based Macs (M1 and above).
|
- platform: "macos-latest" # for Arm-based Macs (M1 and above).
|
||||||
args: '--target aarch64-apple-darwin'
|
args: "--target aarch64-apple-darwin"
|
||||||
yaak_arch: 'arm64'
|
yaak_arch: "arm64"
|
||||||
os: 'macos'
|
os: "macos"
|
||||||
targets: 'aarch64-apple-darwin'
|
targets: "aarch64-apple-darwin"
|
||||||
- platform: 'macos-latest' # for Intel-based Macs.
|
- platform: "macos-latest" # for Intel-based Macs.
|
||||||
args: '--target x86_64-apple-darwin'
|
args: "--target x86_64-apple-darwin"
|
||||||
yaak_arch: 'x64'
|
yaak_arch: "x64"
|
||||||
os: 'macos'
|
os: "macos"
|
||||||
targets: 'x86_64-apple-darwin'
|
targets: "x86_64-apple-darwin"
|
||||||
- platform: 'ubuntu-22.04'
|
- platform: "ubuntu-22.04"
|
||||||
args: ''
|
args: ""
|
||||||
yaak_arch: 'x64'
|
yaak_arch: "x64"
|
||||||
os: 'ubuntu'
|
os: "ubuntu"
|
||||||
targets: ''
|
targets: ""
|
||||||
- platform: 'ubuntu-22.04-arm'
|
- platform: "ubuntu-22.04-arm"
|
||||||
args: ''
|
args: ""
|
||||||
yaak_arch: 'arm64'
|
yaak_arch: "arm64"
|
||||||
os: 'ubuntu'
|
os: "ubuntu"
|
||||||
targets: ''
|
targets: ""
|
||||||
- platform: 'windows-latest'
|
- platform: "windows-latest"
|
||||||
args: ''
|
args: ""
|
||||||
yaak_arch: 'x64'
|
yaak_arch: "x64"
|
||||||
os: 'windows'
|
os: "windows"
|
||||||
targets: ''
|
targets: ""
|
||||||
# Windows ARM64
|
# Windows ARM64
|
||||||
- platform: 'windows-latest'
|
- platform: "windows-latest"
|
||||||
args: '--target aarch64-pc-windows-msvc'
|
args: "--target aarch64-pc-windows-msvc"
|
||||||
yaak_arch: 'arm64'
|
yaak_arch: "arm64"
|
||||||
os: 'windows'
|
os: "windows"
|
||||||
targets: 'aarch64-pc-windows-msvc'
|
targets: "aarch64-pc-windows-msvc"
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
steps:
|
steps:
|
||||||
@@ -88,6 +88,7 @@ jobs:
|
|||||||
& $exe --version
|
& $exe --version
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
- run: npm run bootstrap
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
- name: Run JS Tests
|
- name: Run JS Tests
|
||||||
run: npm test
|
run: npm test
|
||||||
@@ -121,9 +122,9 @@ jobs:
|
|||||||
AZURE_CLIENT_SECRET: ${{ matrix.os == 'windows' && secrets.AZURE_CLIENT_SECRET }}
|
AZURE_CLIENT_SECRET: ${{ matrix.os == 'windows' && secrets.AZURE_CLIENT_SECRET }}
|
||||||
AZURE_TENANT_ID: ${{ matrix.os == 'windows' && secrets.AZURE_TENANT_ID }}
|
AZURE_TENANT_ID: ${{ matrix.os == 'windows' && secrets.AZURE_TENANT_ID }}
|
||||||
with:
|
with:
|
||||||
tagName: 'v__VERSION__'
|
tagName: "v__VERSION__"
|
||||||
releaseName: 'Release __VERSION__'
|
releaseName: "Release __VERSION__"
|
||||||
releaseBody: '[Changelog __VERSION__](https://yaak.app/blog/__VERSION__)'
|
releaseBody: "[Changelog __VERSION__](https://yaak.app/blog/__VERSION__)"
|
||||||
releaseDraft: true
|
releaseDraft: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
args: '${{ matrix.args }} --config ./crates-tauri/yaak-app/tauri.release.conf.json'
|
args: "${{ matrix.args }} --config ./crates-tauri/yaak-app/tauri.release.conf.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user