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 12
12
DOCKER_USER : ${{ secrets.DOCKER_IO_USER }}
13
13
IS_RELEASE : ${{
14
14
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-' ) }}
20
18
21
19
22
20
jobs :
@@ -56,14 +54,14 @@ jobs:
56
54
echo "${{ secrets.DOCKER_IO_PASS }}" | publish
57
55
58
56
- name : Get binary from docker
59
- if : env.IS_DEVNET_RELEASE == 'true'
57
+ if : env.IS_ORACLE_RELEASE == 'true'
60
58
run : |
61
59
docker create -ti --name container "${DOCKER_IMAGE}" bash
62
60
docker cp container:/home/pyth/pyth-client/target/deploy/pyth_oracle.so .
63
61
docker rm -f container
64
62
65
63
- name : Publish binary
66
- if : env.IS_DEVNET_RELEASE == 'true'
64
+ if : env.IS_ORACLE_RELEASE == 'true'
67
65
uses : svenstaro/upload-release-action@133984371c30d34e38222a64855679a414cb7575
68
66
with :
69
67
repo_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments