Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
M-logique committed Sep 9, 2024
1 parent f9cbd17 commit bb99746
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ jobs:
- name: Check for changes and commit
run: |
git stash
if (-not (git diff --quiet)) { git stash }
git pull --rebase
git stash pop
if (git stash list | Select-String 'stash@{0}') { git stash pop }
git diff --exit-code || (git add shared/spammer.dll && git commit -m "Add built spammer.dll for Windows" && git push)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -70,9 +72,13 @@ jobs:
- name: Check for changes and commit
run: |
git stash
if ! git diff --quiet; then git stash; fi
git pull --rebase
git stash pop
if git stash list | grep -q 'stash@{0}'; then git stash pop; fi
git diff --exit-code || (git add shared/spammer.so && git commit -m "Add built spammer.so for Linux" && git push)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bb99746

Please sign in to comment.