Skip to content

Commit

Permalink
ci: attempt to fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
Desdaemon committed Aug 21, 2023
1 parent 8eb1d9a commit 64831a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
skip: ${{ steps.check_changes.outputs.skip }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Check for changes
id: check_changes
run: |
git fetch --depth=1 origin +refs/heads/*:refs/remotes/origin/*
if [ "$(git log $(git describe --tags --abbrev=0)..HEAD --oneline)" = "" ]; then
echo "skip=true" >> "$GITHUB_OUTPUT"
fi
Expand Down

0 comments on commit 64831a1

Please sign in to comment.