diff --git a/.github/workflows/test-relay.yaml b/.github/workflows/test-relay.yaml index 6c0b4576f..27cfe43b1 100644 --- a/.github/workflows/test-relay.yaml +++ b/.github/workflows/test-relay.yaml @@ -74,20 +74,32 @@ jobs: # ./gradlew clean build # ./gradlew optimizedJar - - uses: robinraju/release-downloader@v1.8 + - 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: Download Javascore Contracts + uses: robinraju/release-downloader@v1.8 with: repository: "icon-project/IBC-Integration" - tag: "v0.1.0-alpha.15" + tag: "${{ steps.vars.outputs.tag }}" # latest: true fileName: "*" - out-file-path: "downloads" + out-file-path: "${GITHUB_WORKSPACE}/.github/scripts/IBC-Integration/artifacts/icon" - name: List Download Files run: | - ls -l downloads/ + ls -l ${GITHUB_WORKSPACE}/.github/scripts/IBC-Integration/artifacts/icon echo $HOME echo $PWD echo $GITHUB_WORKSPACE + echo "${GITHUB_REF##*/}" - name: Import GPG key uses: crazy-max/ghaction-import-gpg@v5