mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Arm64 build + delete latest prerelease
This commit is contained in:
parent
095a060be5
commit
03082d3d7f
1 changed files with 21 additions and 4 deletions
25
.github/workflows/dev.yml
vendored
25
.github/workflows/dev.yml
vendored
|
@ -23,13 +23,18 @@ jobs:
|
|||
run: npm install -g electron-builder
|
||||
|
||||
- name: Build
|
||||
run: npm run build && electron-builder --linux zip
|
||||
run: npm run build && electron-builder --linux zip && electron-builder --arm64 --linux zip
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ArmCordLinux.zip
|
||||
path: dist/ArmCord-3.1.0.zip
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ArmCordLinuxArm64.zip
|
||||
path: dist/ArmCord-3.1.0-arm64.zip
|
||||
|
||||
build-mac:
|
||||
runs-on: macos-latest
|
||||
|
@ -108,6 +113,11 @@ jobs:
|
|||
with:
|
||||
name: ArmCordLinux.zip
|
||||
path: linux
|
||||
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: ArmCordLinuxArm64.zip
|
||||
path: linux
|
||||
- run: |
|
||||
ls
|
||||
ls windows
|
||||
|
@ -118,18 +128,25 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||
|
||||
- uses: dev-drprasad/delete-tag-and-release@v0.2.0
|
||||
with:
|
||||
delete_release: true
|
||||
tag_name: devbuild
|
||||
repo: ArmCord/ArmCord
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Create the release
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ steps.vars.outputs.sha_short }}
|
||||
tag_name: devbuild
|
||||
name: Dev Build ${{ steps.vars.outputs.sha_short }}
|
||||
draft: false
|
||||
prerelease: true
|
||||
body_path: .github/release.md
|
||||
files: |
|
||||
linux/ArmCord-3.1.0.zip
|
||||
linux/ArmCord-3.1.0-arm64.zip
|
||||
macos/ArmCord-3.1.0-mac.zip
|
||||
windows/ArmCord-3.1.0-win.zip
|
||||
windows/ArmCord-3.1.0-win.zip
|
||||
|
|
Loading…
Reference in a new issue