Skip to content

Commit

Permalink
ci: fetch latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan committed Aug 17, 2023
1 parent 1fdd0e4 commit e20f655
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/test-relay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,17 @@ jobs:
# ./gradlew clean build
# ./gradlew optimizedJar

- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Check output
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
run: |
echo $RELEASE_VERSION
echo ${{ steps.vars.outputs.tag }}
- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
with:
fallback: 1.0.0 # Optional fallback tag to use when no tag can be found

- name: Download Javascore Contracts
uses: robinraju/[email protected]
with:
repository: "icon-project/IBC-Integration"
tag: "${{ steps.vars.outputs.tag }}"
tag: "${{ steps.previoustag.outputs.tag }}"
# latest: true
fileName: "*"
out-file-path: "${GITHUB_WORKSPACE}/.github/scripts/IBC-Integration/artifacts/icon"
Expand Down

0 comments on commit e20f655

Please sign in to comment.