Skip to content

Commit

Permalink
v2.8-luajit: Fixed release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MCJack123 committed Jan 2, 2024
1 parent 5cfd180 commit 02f5402
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ jobs:
token: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}
- name: Update file
run: |
sed -e 's/version "[^"]*"/version "'${GITHUB_REF:1}'"/' -e 's/sha256 "[^"]*"/sha256 "'$(curl -sL https://github.com/MCJack123/releases/$GITHUB_REF/download/CraftOS-PC.dmg | shasum -a 256 | awk '{print $1;}')'"/' Casks/craftos-pc.rb > tmp.rb
mv tmp.rb Casks/craftos-pc.rb
sed -e 's/version "[^"]*"/version "'${GITHUB_REF_NAME:1:-7}'"/' -e 's/sha256 "[^"]*"/sha256 "'$(curl -sL https://github.com/MCJack123/releases/$GITHUB_REF_NAME/download/CraftOS-PC.dmg | shasum -a 256 | awk '{print $1;}')'"/' Casks/craftos-pc-accelerated.rb > tmp.rb
mv tmp.rb Casks/craftos-pc-accelerated.rb
- name: Upload
run: git commit -m $GITHUB_REF && git push origin master

Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
run: |
sudo apt update
sudo apt install -y libsdl2-dev libsdl2-mixer-dev libhpdf-dev libpng++-dev libwebp-dev libpoco-dev libncurses5-dev patchelf lua5.4
sudo apt install -y libsdl2-dev libsdl2-mixer-dev libhpdf-dev libpng++-dev libwebp-dev libpoco-dev libncurses5-dev patchelf lua5.3
sudo curl -sLo /usr/bin/appimagetool https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage
sudo chmod a+x /usr/bin/appimagetool
echo "$GPG_SIGNING_KEY" > signing.asc
Expand Down

0 comments on commit 02f5402

Please sign in to comment.