File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -151,3 +151,27 @@ jobs:
151
151
fi
152
152
fi
153
153
done
154
+
155
+ publish-artifacts :
156
+ name : Publish artifacts
157
+ runs-on : ubuntu-latest
158
+ if : ${{ github.event_name == 'push' && github.repository == 'arduino/ArduinoCore-zephyr' }}
159
+ needs :
160
+ - package-core
161
+ - test-core
162
+ env :
163
+ CORE_ARTIFACT : ${{ needs.package-core.outputs.CORE_ARTIFACT }}
164
+ ARTIFACT_FILE : ${{ needs.package-core.outputs.CORE_ARTIFACT }}.tar.bz2
165
+ steps :
166
+ - uses : actions/download-artifact@v4
167
+ with :
168
+ name : ${{ env.CORE_ARTIFACT }}
169
+
170
+ - name : Configure AWS credentials
171
+ uses : aws-actions/configure-aws-credentials@v4
172
+ with :
173
+ role-to-assume : ${{ secrets.IAM_ROLE }}
174
+ aws-region : ${{ secrets.AWS_REGION }}
175
+
176
+ - name : Upload artifact
177
+ run : aws s3 cp ${{ env.ARTIFACT_FILE }} s3://${{ secrets.S3_BUCKET }}/
You can’t perform that action at this time.
0 commit comments