Skip to content

Commit

Permalink
Stop uploading binaries to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
NitinAgg authored Aug 4, 2022
1 parent 254f946 commit e0b7ed2
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e0b7ed2

Please # to comment.