Update to v2023.11.3 #78
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: CI | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-linux: | |
name: Linux | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Build it | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
npm ci | |
npm run lint | |
npm run dist | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: linux-binaries | |
path: | | |
dist/ffmuc-meet-amd64.deb | |
dist/ffmuc-meet-x86_64.AppImage | |
dist/ffmuc-meet-arm64.deb | |
dist/ffmuc-meet-arm64.AppImage | |
dist/latest-linux.yml | |
dist/latest-linux-arm64.yml | |
build-mac: | |
name: macOS | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Prepare for app signing and notarization | |
env: | |
API_KEY: ${{ secrets.api_key }} | |
if: ${{ env.API_KEY }} | |
run: | | |
mkdir -p ~/private_keys/ | |
echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8 | |
echo "CSC_LINK=${{ secrets.mac_certs }}" >> $GITHUB_ENV | |
echo "CSC_KEY_PASSWORD=${{ secrets.mac_certs_password }}" >> $GITHUB_ENV | |
echo "API_KEY_FILE=~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8" >> $GITHUB_ENV | |
echo "API_KEY_ID=${{ secrets.api_key_id }}" >> $GITHUB_ENV | |
echo "API_KEY_ISSUER_ID=${{ secrets.api_key_issuer_id }}" >> $GITHUB_ENV | |
- name: Build it | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
npm ci | |
npm run dist | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: mac-binaries | |
path: | | |
dist/ffmuc-meet.dmg | |
dist/ffmuc-meet.zip | |
dist/latest-mac.yml | |
build-windows: | |
name: Windows | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Build it | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
npm ci | |
npm run dist | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: windows-binaries | |
path: | | |
dist/ffmuc-meet.exe | |
dist/latest.yml |