From be739c793cf8d431e87a35587069e8fd2653680a Mon Sep 17 00:00:00 2001 From: sajjad isvand Date: Fri, 14 Jun 2024 22:10:20 +0330 Subject: [PATCH] chore: try fix macos --- .github/workflows/release.yml | 41 ++++++++++++++++------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 816ac5e..f381ada 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,31 +54,28 @@ jobs: publish_on_macos: runs-on: macOS-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - - name: Install Node v20 - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: npm + - name: Install Node v20 + uses: actions/setup-node@v3 + with: + node-version: 20 + cache: npm - - name: Install Python - run: brew install python + - name: Install Python + run: brew install python - - name: Install Xcode Command Line Tools - run: xcode-select --install + - name: Install dependencies + run: npm ci - - name: Install dependencies - run: npm ci - - - name: Install dmg-license - run: npm i dmg-license + - name: Install dmg-license + run: npm i dmg-license - - name: Install electron-builder - run: npm i electron-builder -g + - name: Install electron-builder + run: npm i electron-builder -g - - name: Publish - env: - GH_TOKEN: ${{ secrets.TOKEN }} - run: npm run publish:mac --verbose \ No newline at end of file + - name: Publish + env: + GH_TOKEN: ${{ secrets.TOKEN }} + run: npm run publish:mac --verbose \ No newline at end of file