Skip to content

Commit

Permalink
Clean up the CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Jan 3, 2025
1 parent d961fea commit 9aadb73
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/build_Flatpak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,36 +22,19 @@ jobs:
run: |
. "$HOME/.cargo/env"
rustup toolchain install stable
# apt-get update
# apt-get install -y flatpak-builder
- name: Clone Flatpak repo
run: |
git clone --recurse-submodules https://github.com/C0rn3j/com.github.taiko2k.tauonmb.git tauon-flatpak
cd tauon-flatpak; git checkout tekoreless
- name: "[DEBUG] List all files"
run: find .

# https://github.com/marketplace/actions/flatpak-builder
- name: Build Flatpak
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: tauonmb.flatpak
manifest-path: tauon-flatpak/com.github.taiko2k.tauonmb.json
cache-key: flatpak-builder-${{ github.sha }}

- name: "[DEBUG] List all files"
run: find .

- name: Create 7z
run: |
mkdir -p dist/zip
APP_NAME="TauonMusicBox"
APP_PATH="dist/${APP_NAME}"
ZIP_PATH="dist/zip/${APP_NAME}.7z"
zip -r "${ZIP_PATH}" "${APP_PATH}"
- name: Upload 7z artifact
uses: actions/upload-artifact@v4
with:
name: TauonMusicBox-flatpak
path: TauonMusicBox.7z

0 comments on commit 9aadb73

Please sign in to comment.