From c24a3f7a7d19da39f93690d6c3b7333ff25a498e Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Tue, 14 Jan 2025 06:47:00 -0400 Subject: [PATCH] Update description, setup versioned releases (#11) * update description * disable old workflow * mmmmm * create version file * setup versioned releases * prevent `:` from making it into the filename --- .github/workflows/Dolphin_sharun.yml | 83 +++++++++++++++++++++++++--- .github/workflows/blank.yml | 3 - README.md | 17 +++--- dolphin-emu-appimage.sh | 3 + 4 files changed, 87 insertions(+), 19 deletions(-) diff --git a/.github/workflows/Dolphin_sharun.yml b/.github/workflows/Dolphin_sharun.yml index 5c33895..5c01bb1 100644 --- a/.github/workflows/Dolphin_sharun.yml +++ b/.github/workflows/Dolphin_sharun.yml @@ -58,13 +58,80 @@ jobs: run: | chmod +x ./dolphin-emu-appimage.sh ./dolphin-emu-appimage.sh + mkdir dist + mv *.AppImage* dist/ - - name: release - uses: "marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303" + - name: Check version file + run: | + cat ~/version + echo "APP_VERSION=$(cat ~/version)" >> "${GITHUB_ENV}" + + - name: Upload artifact + uses: actions/upload-artifact@v4.4.3 + with: + name: AppImage + path: 'dist' + + - name: Upload version file + uses: actions/upload-artifact@v4.4.3 with: - title: Continuous Sharun - automatic_release_tag: continuous-Sharun-Artixlinux - prerelease: true - draft: false - files: /home/runner/work/Dolphin_emu_Appimage/Dolphin_emu_Appimage/*.AppImage* - repo_token: "${{ secrets.GITHUB_TOKEN }}" + name: version + path: ~/version + + release: + needs: [build] + permissions: write-all + runs-on: ubuntu-latest + + steps: + - uses: actions/download-artifact@v4.1.8 + with: + name: AppImage + - uses: actions/download-artifact@v4.1.8 + with: + name: version + + - name: Read version + run: | + cat version + export VERSION="$(> "${GITHUB_ENV}" + + #Version Release + - name: Del Previous Release + run: | + gh release delete "${APP_VERSION}" --repo "${GITHUB_REPOSITORY}" --cleanup-tag -y + env: + GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + continue-on-error: true + - name: Continuous Releaser + uses: softprops/action-gh-release@v2 + with: + name: "Dolphin Emulator AppImage ${{ env.APP_VERSION }}" + tag_name: "${{ env.APP_VERSION}}" + prerelease: false + draft: false + generate_release_notes: false + make_latest: true + files: | + *.AppImage* + continue-on-error: false + + #Snapshot Release + - name: Get Date + run: | + SNAPSHOT_TAG="$(date --utc +'%Y%m%d-%H%M%S')" + echo SNAPSHOT_TAG="${SNAPSHOT_TAG}" >> "${GITHUB_ENV}" + continue-on-error: false + - name: Snapshot Releaser + uses: softprops/action-gh-release@v2 + with: + name: "Snapshot ${{ env.APP_VERSION }}" + tag_name: "${{ env.SNAPSHOT_TAG }}" + prerelease: false + draft: false + generate_release_notes: false + make_latest: false + files: | + *.AppImage* + continue-on-error: false diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 71053cf..6727648 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -4,9 +4,6 @@ name: CI # Controls when the action will run. on: - # Build at 00:00 on every 12th day-of-month. - schedule: - - cron: "0 0 */6 * *" # Triggers the workflow on push or pull request events but only for the master branch push: branches: [ main ] diff --git a/README.md b/README.md index 8221e15..d8f645c 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,15 @@ -# Dolphin_emu_Appimage -
description:
+# Dolphin-emu-AppImage + +Unofficial AppImage of the Dolphin Emulator.
Dolphin emu is a Nintendo Game Cube and Wii emulator, it allows the computer gammers enjoy both Consoles in the computer with the capability of 1080p
+
The application works fine, just download it and form your terminal run `chmod a+x Dolphin_Emulator-x86_64.AppImage` then `./Dolphin_Emulator-x86_64.AppImage` or just double click upon it.
+ +**This AppImage bundles everything and should work on any linux distro, even on musl based ones.**
Please if you find a bug open an issue
+ ########################################################################
Thank you for sharing this project across the internet!
-
If you like it don't forget to give an star.
-
By the way this is an unofficial project.
+
If you like it don't forget to give a star.
######################################################################## -
The application works fine. just download it and form your terminal run this command `chmod a+x Dolphin_Emulator-x86_64.AppImage`
-then -
./Dolphin_Emulator-x86_64.AppImage or just double click upon it.
-
Please if you find a bug open an issue
+

Telegram Group

https://t.me/appimagelucasmz1

diff --git a/dolphin-emu-appimage.sh b/dolphin-emu-appimage.sh index 631c852..eceb97a 100644 --- a/dolphin-emu-appimage.sh +++ b/dolphin-emu-appimage.sh @@ -10,6 +10,9 @@ LIB4BN="https://raw.githubusercontent.com/VHSgunzo/sharun/refs/heads/main/lib4bi ICON="https://github.com/dolphin-emu/dolphin/blob/master/Data/dolphin-emu.png?raw=true" UPINFO="gh-releases-zsync|$(echo "$GITHUB_REPOSITORY" | tr '/' '|')|latest|*$ARCH.AppImage.zsync" +export VERSION="$(pacman -Q dolphin-emu | awk 'NR==1 {print $2; exit}' | tr ':' '.')" +echo "$VERSION" > ~/version + # Prepare AppDir mkdir -p ./AppDir && cd ./AppDir