forked from cosmos/relayer
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0d82dc
commit 3737fb0
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,17 +74,23 @@ jobs: | |
# ./gradlew clean build | ||
# ./gradlew optimizedJar | ||
|
||
- 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: Fetch Latest IBC-Integration Tag | ||
id: fetch_ibc_tag | ||
run: | | ||
TAG_IBC=$(curl -s "https://api.github.com/repos/icon-project/IBC-Integration/tags" | jq -r '.[0].name') | ||
echo "TAG_IBC=$TAG_IBC" >> $GITHUB_ENV | ||
- name: Fetch Latest XCALL Tag | ||
id: fetch_xcall_tag | ||
run: | | ||
TAG_XCALL=$(curl -s "https://api.github.com/repos/icon-project/xCalll/tags" | jq -r '.[0].name') | ||
echo "TAG_XCALL=$TAG_XCALL" >> $GITHUB_ENV | ||
- name: Download Javascore Contracts | ||
uses: robinraju/[email protected] | ||
with: | ||
repository: "icon-project/IBC-Integration" | ||
tag: "${{ steps.previoustag.outputs.tag }}" | ||
tag: "$TAG_IBC" | ||
# latest: true | ||
fileName: "*" | ||
out-file-path: "${GITHUB_WORKSPACE}/.github/scripts/IBC-Integration/artifacts/icon" | ||
|