mirror of
https://github.com/element-hq/element-desktop
synced 2025-04-01 20:03:43 +02:00
Test GHA -> S3 for MSI builds
This commit is contained in:
parent
2175842a8e
commit
0157a59647
23
.github/workflows/msi_push.yaml
vendored
Normal file
23
.github/workflows/msi_push.yaml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Push MSI to S3
|
||||||
|
on:
|
||||||
|
pull_request: {}
|
||||||
|
env:
|
||||||
|
BUCKET_NAME : "element-desktop-msi.onprem.element.io"
|
||||||
|
AWS_REGION : "eu-central-1"
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: read
|
||||||
|
jobs:
|
||||||
|
S3PackageUpload:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: configure aws credentials
|
||||||
|
uses: aws-actions/configure-aws-credentials@v3
|
||||||
|
with:
|
||||||
|
role-to-assume: arn:aws:iam::264135176173:role/Push-ElementDesktop-MSI
|
||||||
|
role-session-name: githubaction-run-${{ github.run_id }}
|
||||||
|
aws-region: ${{ env.AWS_REGION }}
|
||||||
|
- name: Copy file to S3
|
||||||
|
run: |
|
||||||
|
echo ${{ github.run_id }} > test
|
||||||
|
aws s3 cp ./test s3://${{ env.BUCKET_NAME }}/
|
Loading…
x
Reference in New Issue
Block a user