We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9afd83a commit c7605f8Copy full SHA for c7605f8
.github/workflows/package_core.yml
@@ -151,3 +151,24 @@ jobs:
151
fi
152
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
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 }}
0 commit comments