Skip to content

Commit

Permalink
Update aur-update.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShonP40 committed Apr 20, 2023
1 parent 33411b9 commit 33e1792
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/aur-update.yaml
Expand Up @@ -21,20 +21,20 @@ jobs:

- uses: dsaltares/fetch-gh-release-asset@master
with:
repo: "Offline-CheatBreaker/Launcher"
repo: "CheatBreakerNet/Launcher"
version: "tags/${{ steps.latest_release.outputs.tag_name }}"
file: "Offline_CheatBreaker.AppImage"
file: "CheatBreaker.AppImage"
token: ${{ secrets.GITHUB_TOKEN }}

- name: Update the PKG version in the PKGBUILD
run: |
sed -i 's/^pkgver=.*/pkgver=${{ steps.latest_release.outputs.tag_name }}/' ./AUR/PKGBUILD
sed -i "s#^md5sums=.*#md5sums=('$(md5sum ./Offline_CheatBreaker.AppImage | cut -d' ' -f1)')#" ./AUR/PKGBUILD
sed -i "s#^md5sums=.*#md5sums=('$(md5sum ./CheatBreaker.AppImage | cut -d' ' -f1)')#" ./AUR/PKGBUILD
- name: Publish AUR package
uses: KSXGitHub/github-actions-deploy-aur@v2.7.0
with:
pkgname: offline-cheatbreaker
pkgname: cheatbreaker
pkgbuild: ./AUR/PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
Expand Down

0 comments on commit 33e1792

Please sign in to comment.