Skip to content

Commit 2fbe8d0

Browse files
authored
Merge pull request #3027 from fibonacci1729/rm-s3-upload
Don't upload release artifacts to s3
2 parents 539cedf + d831cef commit 2fbe8d0

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -168,27 +168,6 @@ jobs:
168168
name: spin-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
169169
path: _dist/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.zip
170170

171-
- name: Configure AWS Credentials
172-
if: |
173-
runner.os == 'linux' &&
174-
matrix.config.arch == 'amd64' &&
175-
github.repository_owner == 'spinframework' &&
176-
github.ref == 'refs/heads/main'
177-
uses: aws-actions/configure-aws-credentials@v4
178-
with:
179-
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.SPIN_RELEASE_ARTIFACTS_REPO }}
180-
role-session-name: spin-release-artifacts
181-
aws-region: ${{ secrets.AWS_REGION }}
182-
183-
- name: Copy Binary to S3 - ${{ env.RELEASE_VERSION }}
184-
if: |
185-
runner.os == 'linux' &&
186-
matrix.config.arch == 'amd64' &&
187-
github.repository_owner == 'spinframework' &&
188-
github.ref == 'refs/heads/main'
189-
run: |
190-
aws s3 cp _dist/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz s3://${{ secrets.SPIN_RELEASE_ARTIFACTS_REPO }}/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz --acl public-read
191-
192171
checksums:
193172
name: generate release checksums
194173
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)