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 @@ -148,3 +148,24 @@ jobs:
148
148
fi
149
149
fi
150
150
done
151
+
152
+ publish-artifacts :
153
+ name : Publish artifacts
154
+ runs-on : ubuntu-latest
155
+ if : ${{ github.event_name == 'push' && github.repository == 'arduino/ArduinoCore-zephyr' }}
156
+ needs :
157
+ - package-core
158
+ - test-core
159
+ steps :
160
+ - uses : actions/download-artifact@v4
161
+ with :
162
+ name : ${{ needs.package-core.outputs.CORE_ARTIFACT }}
163
+
164
+ - name : Configure AWS credentials
165
+ uses : aws-actions/configure-aws-credentials@v4
166
+ with :
167
+ role-to-assume : ${{ secrets.IAM_ROLE }}
168
+ aws-region : ${{ secrets.AWS_REGION }}
169
+
170
+ - name : Upload artifact
171
+ 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