Skip to content

Commit

Permalink
More testing...
Browse files Browse the repository at this point in the history
  • Loading branch information
Typositoire committed Mar 28, 2024
1 parent f77d6bc commit bf7b231
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
Expand All @@ -24,15 +25,19 @@ jobs:
if: steps.changed-files.outputs.all_modified_files == '0'
id: check_if_only_ignored
run: exit 0

- name: Get version from file
if: steps.changed-files.outputs.all_modified_files != '0'
id: get_version
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT

- name: 'Get Previous tag'
if: steps.changed-files.outputs.all_modified_files != '0'
id: previoustag
uses: "WyriHaximus/[email protected]"

- name: Checking for version bump
if: steps.changed-files.outputs.all_modified_files != '0'
id: check_vbump
run: |
LAST_TAG="${{ steps.previoustag.outputs.tag }}"
Expand Down

0 comments on commit bf7b231

Please sign in to comment.