File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -151,3 +151,24 @@ 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
+ steps :
163
+ - uses : actions/download-artifact@v4
164
+ with :
165
+ name : ${{ needs.package-core.outputs.CORE_ARTIFACT }}
166
+
167
+ - name : Configure AWS credentials
168
+ uses : aws-actions/configure-aws-credentials@v4
169
+ with :
170
+ role-to-assume : ${{ secrets.IAM_ROLE }}
171
+ aws-region : ${{ secrets.AWS_REGION }}
172
+
173
+ - name : Upload artifact
174
+ run : aws s3 sync ${{ needs.package-core.outputs.CORE_ARTIFACT }}.tar.bz2 s3://${{ secrets.S3_BUCKET }}
You can’t perform that action at this time.
0 commit comments