mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
feat: snap dev builds + arm64
This commit is contained in:
parent
9a3ff996af
commit
a05337b195
1 changed files with 51 additions and 0 deletions
51
.github/workflows/dev.yml
vendored
51
.github/workflows/dev.yml
vendored
|
@ -33,7 +33,58 @@ jobs:
|
|||
with:
|
||||
name: ArmCordLinux
|
||||
path: dist/armcord-*.zip
|
||||
build-snap:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
|
||||
- name: Use Node.js 22
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install Node dependencies
|
||||
run: pnpm i
|
||||
|
||||
- name: Build
|
||||
run: pnpm run build && pnpm electron-builder --linux snap --config.snap.grade=devel
|
||||
|
||||
- uses: snapcore/action-publish@v1
|
||||
env:
|
||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
|
||||
with:
|
||||
snap: dist/ArmCord_3.3.0_amd64.snap
|
||||
release: edge
|
||||
build-snap-arm64:
|
||||
runs-on: warp-ubuntu-latest-arm64-2x
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
|
||||
- name: Use Node.js 22
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install Node dependencies
|
||||
run: pnpm i
|
||||
|
||||
- name: Build
|
||||
run: pnpm run build && pnpm electron-builder --linux snap --config.snap.grade=devel
|
||||
|
||||
- uses: snapcore/action-publish@v1
|
||||
env:
|
||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
|
||||
with:
|
||||
snap: dist/ArmCord_3.3.0_arm64.snap
|
||||
release: edge
|
||||
build-linux-arm:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue