prepare bfr changes #454
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: Publish (PR) | |
on: | |
pull_request: | |
branches: | |
- development | |
jobs: | |
publish: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
steps: | |
- name: Checkout git repo | |
uses: actions/checkout@v3 | |
- name: Install Node and NPM | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: npm | |
- name: Install dependencies | |
run: | | |
npm install --legacy-peer-deps | |
- name: Build releases | |
uses: nick-invision/[email protected] | |
with: | |
timeout_minutes: 30 | |
max_attempts: 3 | |
retry_on: error | |
command: | | |
npm run postinstall | |
npm run build | |
npm run package:pr | |
on_retry_command: npm cache clean --force | |
- name: Loop through all files in release/build | |
run: | | |
for file in release/build/*; do | |
echo "Uploading $file" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: $file | |
path: $file | |
# - name: Merge and upload Windows Binaries | |
# uses: actions/upload-artifact/merge@v4 | |
# with: | |
# name: windows-binaries | |
# pattern: release/build/*.exe | |
# - name: Merge and upload Linux Binaries | |
# uses: actions/upload-artifact/merge@v4 | |
# with: | |
# name: linux-binaries | |
# pattern: release/build/*.{AppImage,deb,rpm} | |
# - name: Merge and upload MacOS Binaries | |
# uses: actions/upload-artifact/merge@v4 | |
# with: | |
# name: macos-binaries | |
# path: release/build/*.dmg |