mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
ci: remove macOS dev builds
This commit is contained in:
parent
58e1cdfca6
commit
904148597d
1 changed files with 1 additions and 41 deletions
42
.github/workflows/dev.yml
vendored
42
.github/workflows/dev.yml
vendored
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue