update pkg #7
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: Build | |
on: push | |
permissions: | |
contents: write | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "yarn" | |
- name: Add DiskUtils (macOS) | |
if: ${{ matrix.os == 'macos-latest' }} | |
run: sudo -H pip install setuptools | |
- name: Install Dependencies | |
run: yarn install | |
# npm config set msvs_version 2022 | |
- name: Build tar files | |
run: yarn build | |
- name: Build Exe (Windows) | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: yarn exe | |
- name: Upload release assets | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: "v2.4.9" | |
files: | | |
prebuilds/*.tar.gz | |
./airtunes2.exe |