diff --git a/.github/workflows/branch-main.yml b/.github/workflows/branch-main.yml index 5709e41..246e7cc 100644 --- a/.github/workflows/branch-main.yml +++ b/.github/workflows/branch-main.yml @@ -38,7 +38,7 @@ jobs: run: | echo "Tag version: ${CURRENT_GALAXY_VERSION}" - name: Create Tag - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const {CURRENT_GALAXY_VERSION} = process.env diff --git a/.github/workflows/reusable-check-version.yml b/.github/workflows/reusable-check-version.yml index 35d3209..3239bfd 100644 --- a/.github/workflows/reusable-check-version.yml +++ b/.github/workflows/reusable-check-version.yml @@ -45,13 +45,13 @@ jobs: echo "MAIN_GALAXY_VERSION=${MAIN_GALAXY_VERSION}" >> "${GITHUB_ENV}" - name: Validate the current version if: ${{ ! env.CURRENT_GALAXY_VERSION }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('Your Galaxy version is absent or empty!') - name: Compare versions if: ${{ inputs.compare-versions && env.MAIN_GALAXY_VERSION >= env.CURRENT_GALAXY_VERSION }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.setFailed('Your Galaxy version is lower than the version in the main branch or equal. Please bump your version!')