Skip to content

Commit

Permalink
chore: upload arm build outputs to release
Browse files Browse the repository at this point in the history
  • Loading branch information
yadokani389 committed Jan 9, 2025
1 parent 2661dbd commit 1a0a4d4
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/publishArm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: 'Publish Linux Arm builds'

on:
workflow_dispatch:
inputs:
publish:
required: false
default: false
type: boolean
push:
branches:
- release
Expand Down Expand Up @@ -82,3 +87,36 @@ jobs:
with:
name: AppImage Bundle
path: ${{ github.workspace }}/src-tauri/target/release/bundle/appimage/umegaemochi_${{ env.APP_VERSION }}_${{ matrix.appimage }}.AppImage

- name: Upload deb bundle to release
uses: svenstaro/upload-release-action@v2
if: inputs.publish != 'false'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: src-tauri/target/release/bundle/deb/umegaemochi_${{ env.APP_VERSION }}_${{ matrix.deb }}.deb
tag: v${{ env.APP_VERSION }}
overwrite: true
draft: true
body: 'See the assets to download this version and install.'

- name: Upload rpm bundle to release
uses: svenstaro/upload-release-action@v2
if: inputs.publish != 'false'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: src-tauri/target/release/bundle/rpm/umegaemochi-${{ env.APP_VERSION }}-1.${{ matrix.rpm }}.rpm
tag: v${{ env.APP_VERSION }}
overwrite: true
draft: true
body: 'See the assets to download this version and install.'

- name: Upload appimage bundle to release
uses: svenstaro/upload-release-action@v2
if: inputs.publish != 'false'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: src-tauri/target/release/bundle/appimage/umegaemochi_${{ env.APP_VERSION }}_${{ matrix.appimage }}.AppImage
tag: v${{ env.APP_VERSION }}
overwrite: true
draft: true
body: 'See the assets to download this version and install.'

0 comments on commit 1a0a4d4

Please sign in to comment.