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