From 92aa74e5054fc270cac119d695c9a659a571596a Mon Sep 17 00:00:00 2001 From: MCJack123 Date: Mon, 1 Jan 2024 23:58:38 -0500 Subject: [PATCH] Fixed Cask action --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7a354d1..13e48a2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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