We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 157e5c6 commit 93b82d9Copy full SHA for 93b82d9
.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
+ needs:
156
+ - package-core
157
+ - test-core
158
+ steps:
159
+ - uses: actions/download-artifact@v4
160
+ with:
161
+ name: ${{ needs.package-core.outputs.CORE_ARTIFACT }}
162
163
+ - name: Configure AWS credentials
164
+ uses: aws-actions/configure-aws-credentials@v4
165
166
+ role-to-assume: ${{ secrets.IAM_ROLE }}
167
+ role-session-name: "github_${{ env.PROJECT_NAME }}"
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