Skip to content

🤷

🤷 #12

Workflow file for this run

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: svenstaro/upload-release-action@v2
with:
tag: "v2.4.9"
overwrite: true
file: prebuilds/*.tar.gz
file_glob: true
- name: Upload executable
if: ${{ matrix.os == 'windows-latest' }}
uses: svenstaro/upload-release-action@v2
with:
tag: "v2.4.9"
overwrite: true
file: ./airtunes2.exe