Skip to content

Commit

Permalink
Update lib-release.yml
Browse files Browse the repository at this point in the history
Add condition to verify release script does not already exist
  • Loading branch information
wboereboom authored Aug 8, 2023
1 parent b629d51 commit 5a18bb4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/lib-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ jobs:
run: |
git fetch origin develop:develop
git reset --hard develop
- name: Check file existence
id: check_files
uses: andstor/file-existence-action@v2
with:
files: ".github/scripts/release.js"
- name: Get the release script
if: steps.check_files.outputs.files_exists == 'false'
run: |
wget https://raw.githubusercontent.com/Adyen/adyen-node-api-library/develop/.github/scripts/release.js -P ./.github/scripts
- name: Grab current version
Expand Down Expand Up @@ -66,4 +72,4 @@ jobs:
with:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: merge
merge-method: merge

0 comments on commit 5a18bb4

Please sign in to comment.