mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
use step output directly instead of fetching more than once (#1940)
Fix issue in finding ref
This commit is contained in:
parent
a79d852d1c
commit
828f17897e
10
.github/workflows/ci-default.yml
vendored
10
.github/workflows/ci-default.yml
vendored
@ -56,16 +56,10 @@ jobs:
|
|||||||
id: kava-version
|
id: kava-version
|
||||||
run: |
|
run: |
|
||||||
echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT
|
echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT
|
||||||
- name: checkout repo from master
|
- name: checkout version of kava that will be deployed if this pr is merged
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: ${{ steps.kava-version.outputs.KAVA_VERSION }}
|
||||||
- name: checkout version of kava that will be deployed if this pr is merged
|
|
||||||
run: |
|
|
||||||
git pull -p
|
|
||||||
git checkout $KAVA_VERSION
|
|
||||||
env:
|
|
||||||
KAVA_VERSION: ${{ steps.kava-version.outputs.KAVA_VERSION }}
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user