From e0b7ed2e835669f00057b10732f79ec8dbbb4f6a Mon Sep 17 00:00:00 2001 From: Nitin Aggarwal Date: Thu, 4 Aug 2022 15:28:28 -0700 Subject: [PATCH] Stop uploading binaries to s3 --- .github/workflows/package.yml | 41 ----------------------------------- 1 file changed, 41 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 9d65f6cbd..577d96bfc 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -30,18 +30,6 @@ jobs: run: | if [ -z "$VERSION" ]; then export VERSION=$(echo "$GITHUB_REF" | sed 's|refs/tags/v||'); fi make build-binary - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_S3_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Upload to S3 - run: | - if [ -z "$VERSION" ]; then export VERSION=$(echo "$GITHUB_REF" | sed 's|refs/tags/v||'); fi - cd dist/opta - zip -r opta.zip ./* - aws s3 cp opta.zip s3://dev-runx-opta-binaries/linux/$VERSION/ --acl public-read - name: Upload Linux Release uses: actions/upload-release-asset@v1 env: @@ -78,23 +66,6 @@ jobs: if [ -z "$VERSION" ]; then export VERSION=$(echo "$GITHUB_REF" | sed 's|refs/tags/v||'); fi make build-binary EOF - - name: Setup AWS CLI - run: | - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" - unzip awscliv2.zip - ./aws/install - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_S3_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Upload to S3 - run: | - if [ -z "$VERSION" ]; then export VERSION=$(echo "$GITHUB_REF" | sed 's|refs/tags/v||'); fi - cd dist/opta - zip -r opta.zip ./* - aws s3 cp opta.zip s3://dev-runx-opta-binaries/centos/$VERSION/ --acl public-read - name: Upload CentOS Release uses: actions/upload-release-asset@v1 env: @@ -125,18 +96,6 @@ jobs: run: | if [ -z "$VERSION" ]; then export VERSION=$(echo "$GITHUB_REF" | sed 's|refs/tags/v||'); fi make build-binary - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_S3_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Upload to S3 - run: | - if [ -z "$VERSION" ]; then export VERSION=$(echo "$GITHUB_REF" | sed 's|refs/tags/v||'); fi - cd dist/opta - zip -r opta.zip ./* - aws s3 cp opta.zip s3://dev-runx-opta-binaries/mac/$VERSION/ --acl public-read - name: Upload Mac Release uses: actions/upload-release-asset@v1 env: