Skip to content

Commit

Permalink
Fixed Cask action
Browse files Browse the repository at this point in the history
  • Loading branch information
MCJack123 committed Jan 2, 2024
1 parent ee5334a commit 92aa74e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ jobs:
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
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "<>"
git commit -m $GITHUB_REF
git push origin master
release-ubuntu:
name: Upload Ubuntu PPA package
Expand Down

0 comments on commit 92aa74e

Please sign in to comment.