From bf7b231d6ddd797d94b30abebbaafcf7002e8c0b Mon Sep 17 00:00:00 2001 From: Yann David Date: Wed, 27 Mar 2024 20:03:33 -0400 Subject: [PATCH] More testing... --- .github/workflows/pr.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index effaef2..434c622 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 @@ -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/github-action-get-previous-tag@v1.4.0" + - name: Checking for version bump + if: steps.changed-files.outputs.all_modified_files != '0' id: check_vbump run: | LAST_TAG="${{ steps.previoustag.outputs.tag }}"