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: