Skip to content

Commit

Permalink
update actions/github-script to v7
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBesson committed Jul 18, 2024
1 parent dc2a1d7 commit 89b19c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-check-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!')

0 comments on commit 89b19c1

Please sign in to comment.