@@ -100,9 +100,9 @@ jobs:
100
100
run : |
101
101
cd cli
102
102
make
103
- echo "artifactPath=$HOME /artifacts/$GITHUB_SHA" >> $GITHUB_ENV
103
+ echo "artifactPath=~ /artifacts/$GITHUB_SHA/ " >> $GITHUB_ENV
104
104
mkdir -p $HOME/artifacts/$GITHUB_SHA/
105
- sudo cp dist/linux_amd64/release/dapr $artifactpath /dapr
105
+ cp dist/linux_amd64/release/dapr $HOME/artifacts/$GITHUB_SHA /dapr
106
106
CLI_VERSION=edge
107
107
echo "DAPR_CLI_VER=$CLI_VERSION" >> $GITHUB_ENV
108
108
@@ -111,16 +111,22 @@ jobs:
111
111
run : |
112
112
cd dapr_runtime
113
113
make
114
+ echo "artifactPath=~/artifacts/$GITHUB_SHA/" >> $GITHUB_ENV
114
115
mkdir -p $HOME/artifacts/$GITHUB_SHA/
115
- cp dist/linux_amd64/release/* $artifactPath
116
+ cp dist/linux_amd64/release/* $HOME/artifacts/$GITHUB_SHA/
116
117
RUNTIME_VERSION=edge
117
118
echo "DAPR_RUNTIME_VER=$RUNTIME_VERSION" >> $GITHUB_ENV
118
119
119
120
- name : Build Docker Image
120
121
if : env.DAPR_REF != ''
121
122
run : |
122
123
cd dapr_runtime
123
- docker build --build-arg "PKG_FILES=*" -f ./docker/Dockerfile ./dist/linux_amd64/release -t daprio/dapr:edge-linux-amd64 --output type=tar,dest=$artifactPath/dapr_docker.tar
124
+ docker build --build-arg "PKG_FILES=*" -f ./docker/Dockerfile ./dist/linux_amd64/release -t daprio/dapr:edge-linux-amd64 --output type=tar,dest=$HOME/artifacts/$GITHUB_SHA/dapr_docker.tar
125
+
126
+ - name : List artifacts
127
+ if : env.DAPR_REF != '' || env.DAPR_CLI_REF != ''
128
+ run : |
129
+ ls -la $HOME/artifacts/$GITHUB_SHA/
124
130
125
131
- name : Upload dapr-artifacts
126
132
uses : actions/upload-artifact@v4
@@ -195,7 +201,7 @@ jobs:
195
201
- name : Display downloaded artifacts
196
202
if : env.DAPR_CLI_VER == 'edge' || env.DAPR_RUNTIME_VER == 'edge'
197
203
run : |
198
- ls ~/artifacts/$GITHUB_SHA
204
+ ls -la ~/artifacts/$GITHUB_SHA/
199
205
200
206
- name : Set up Go
201
207
id : setup-go
0 commit comments