Skip to content

try to fix CI

try to fix CI #37

Workflow file for this run

name: Release MacOS app
# on:
# pull_request: # TODO: Remove
# branches: [ "main" ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
distribute-app:
runs-on: macos-15
steps:
- name: MacOS version
run: sw_vers
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: "./local-server/.nvmrc"
- uses: swift-actions/setup-swift@v2
with:
swift-version: "6.1"
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Install node dependencies
run: cd local-server && yarn install
# See https://github.com/actions/runner-images/issues/10722#issuecomment-2387952421
- uses: extractions/netrc@v1
with:
machine: github.com
username: oauth2
password: ${{ secrets.GITHUB_TOKEN }}
- uses: extractions/netrc@v1
with:
machine: api.github.com
username: oauth2
password: ${{ secrets.GITHUB_TOKEN }}
- name: Make release
run: cd app && fastlane mac distribute_release
env:
FASTLANE_MACH_REPO_GITHUB_ACCESS_TOKEN: ${{ secrets.FASTLANE_MACH_REPO_GITHUB_ACCESS_TOKEN }}
MATCH_PASSWORD: ${{ secrets.FASTLANE_MACH_PASSWORD }}
NOTARY_KEY_ID: ${{ secrets.NOTARY_KEY_ID }}
NOTARY_P8: ${{ secrets.NOTARY_P8 }}
NOTARY_ISSUER_ID: ${{ secrets.NOTARY_ISSUER_ID }}
SPARKLE_SECRET_KEY: ${{ secrets.SPARKLE_SECRET_KEY }}
GH_WRITE_TOKEN: ${{ secrets.GH_WRITE_TOKEN }}