Skip to content

Commit 78d22f6

Browse files
Weiming Zhaoweimingzha0
Weiming Zhao
authored andcommitted
[CI] Download artifacts to temporary path
1 parent 25390d6 commit 78d22f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ jobs:
110110
uses: actions/download-artifact@v2
111111
with:
112112
name: artifact
113-
path: download
113+
path: /tmp/download
114114

115115
- name: Prepare
116116
id: prepare
117117
run: |
118-
echo "::set-output name=file::$(cd download && ls HALO-*-ubuntu*.bz2)"
118+
echo "::set-output name=file::$(cd /tmp/download && ls HALO-*-ubuntu*.bz2)"
119119
echo "::set-output name=date::$(date -u +'%Y-%m-%dT%H:%M:%SZ')"
120120
tag=latest
121121
if [[ $GITHUB_REF == refs/tags/Release/* ]]; then
@@ -144,7 +144,7 @@ jobs:
144144
uses: docker/build-push-action@v2
145145
with:
146146
file: halo/utils/docker/runtime/Dockerfile.x86_64
147-
context: download
147+
context: /tmp/download
148148
tags: |
149149
localhost:5000/halo:sha-${{ github.sha }}
150150
registry-intl.us-west-1.aliyuncs.com/computation/halo:${{steps.prepare.outputs.tag}}-runtime.x86_64-ubuntu18.04
@@ -171,5 +171,5 @@ jobs:
171171
env:
172172
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
173173
with:
174-
files: download/*
174+
files: /tmp/download/*
175175
name: ${{ steps.prepare.tag }}

0 commit comments

Comments
 (0)