File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1212 DOCKER_USER : ${{ secrets.DOCKER_IO_USER }}
1313 IS_RELEASE : ${{
1414 startsWith( github.ref, 'refs/tags/pythd-' ) ||
15- startsWith( github.ref, 'refs/tags/devnet-' ) ||
16- startsWith( github.ref, 'refs/tags/testnet-' ) ||
17- startsWith( github.ref, 'refs/tags/mainnet-' ) }}
18- IS_DEVNET_RELEASE : ${{
19- startsWith( github.ref, 'refs/tags/devnet-' ) }}
15+ startsWith( github.ref, 'refs/tags/oracle-' ) ||
16+ IS_ORACLE_RELEASE : ${{
17+ startsWith( github.ref, 'refs/tags/oracle-' ) }}
2018
2119
2220jobs :
@@ -56,14 +54,14 @@ jobs:
5654 echo "${{ secrets.DOCKER_IO_PASS }}" | publish
5755
5856 - name : Get binary from docker
59- if : env.IS_DEVNET_RELEASE == 'true'
57+ if : env.IS_ORACLE_RELEASE == 'true'
6058 run : |
6159 docker create -ti --name container "${DOCKER_IMAGE}" bash
6260 docker cp container:/home/pyth/pyth-client/target/deploy/pyth_oracle.so .
6361 docker rm -f container
6462
6563 - name : Publish binary
66- if : env.IS_DEVNET_RELEASE == 'true'
64+ if : env.IS_ORACLE_RELEASE == 'true'
6765 uses : svenstaro/upload-release-action@133984371c30d34e38222a64855679a414cb7575
6866 with :
6967 repo_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments