Skip to content

Commit

Permalink
Create Casks/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop committed Sep 7, 2024
1 parent 6e20c4c commit 0896b33
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ jobs:
NYAIME_HOMEPAGE: ${{ steps.tap.outputs.homepage }}
NYAIME_DESC: ${{ steps.tap.outputs.desc }}
run: |
cat <<EOF > nyaime.rb
mkdir Casks
cat <<EOF > Casks/nyaime.rb
cask "nyaime" do
version "${NYAIME_VERSION}"
url "https://github.com/koki-develop/NyaIME/releases/download/v#{version}/NyaIME.pkg"
Expand All @@ -83,11 +84,11 @@ jobs:
uninstall pkgutil: "me.koki.inputmethod.NyaIME"
end
EOF
cat nyaime.rb
cat Casks/nyaime.rb
# https://github.com/actions/checkout#push-a-commit-using-the-built-in-token
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add ./nyaime.rb
git add ./Casks/nyaime.rb
git commit -m "Brew cask update for nyaime version v${NYAIME_VERSION}"
git push origin main

0 comments on commit 0896b33

Please sign in to comment.