Skip to content

Commit

Permalink
ci: remove macOS dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
smartfrigde committed Apr 28, 2024
1 parent 58e1cdf commit 9041485
Showing 1 changed file with 1 addition and 41 deletions.
42 changes: 1 addition & 41 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,40 +76,6 @@ jobs:
with:
snap: dist/ArmCord_3.3.0_amd64.snap
release: edge
build-mac:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json

- name: Use Node.js 18
uses: actions/setup-node@v2
with:
node-version: 18
cache: "pnpm"

- name: Install Node dependencies
run: pnpm install -g cargo-cp-artifact && pnpm install

- name: Install Electron-Builder
run: pnpm install -g electron-builder

- name: Replace the version number
run: cat src/utils.ts | sed -e 's/[[:digit:]]\.[[:digit:]]\.[[:digit:]]/DEV/g' | tee src/utils.ts > /dev/null

- name: Build
run: npm run build && electron-builder --macos zip
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ArmCordMac.zip
path: dist/ArmCord-3.3.0-mac.zip

build-windows:
runs-on: windows-latest
steps:
Expand Down Expand Up @@ -177,16 +143,11 @@ jobs:

release:
runs-on: ubuntu-latest
needs: [build-linux, build-mac, build-windows, build-windowsOnARM]
needs: [build-linux, build-windows, build-windowsOnARM]
steps:
- name: Checkout code
uses: actions/checkout@v2

- uses: actions/download-artifact@v2
with:
name: ArmCordMac.zip
path: macos

- uses: actions/download-artifact@v2
with:
name: ArmCordWindows.zip
Expand Down Expand Up @@ -232,6 +193,5 @@ jobs:
files: |
linux/ArmCord-3.3.0.zip
linux/ArmCord-3.3.0-arm64.zip
macos/ArmCord-3.3.0-mac.zip
windows/ArmCord-3.3.0-win.zip
windows/ArmCord-3.3.0-arm64-win.zip

0 comments on commit 9041485

Please sign in to comment.