Skip to content

Commit

Permalink
Update update_zig_nightly.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvvv authored Nov 13, 2024
1 parent 14ffc7e commit 18faa09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/update_zig_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git diff --ignore-all-space --ignore-blank-lines --quiet
if [[ $? -ne 0 ]]; then
if ! git diff --ignore-all-space --ignore-blank-lines --quiet; then
git add Casks/[email protected]
git commit -m "Workflow update_zig_nightly: Updated Zig Nightly Cask to version $(grep 'version ".*"' | cut -d '"' -f2)"
git push
Expand Down

0 comments on commit 18faa09

Please sign in to comment.