Skip to content

Commit

Permalink
ci: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed May 18, 2023
1 parent 7b9c5ab commit a718477
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/test.yml
Expand Up @@ -30,8 +30,6 @@ jobs:

releaser-test:
runs-on: ubuntu-latest
permissions:
id-token: write # This is required for requesting the JWT
steps:
- uses: actions/checkout@v3

Expand All @@ -48,25 +46,10 @@ jobs:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --snapshot --skip-publish
args: release --snapshot --rm-dist --skip-publish
env:
GOPATH: ${{ env.HOME }}

- uses: 'mozillazg/alibabacloud-oidc-auth@v1'
with:
role-arn-to-assume: '${{ secrets.ALIBABA_CLOUD_RAM_ROLE_ARN }}'
oidc-provider-arn: '${{ secrets.ALIBABA_CLOUD_RAM_OIDC_ARN }}'
export-environment-variables: 'true'
- run: |
set -e
cd ci/ossutil && go build && \
chmod +x ossutil && cp ossutil ../../cputil && cd ../../
./cputil --endpoint=oss-cn-hangzhou.aliyuncs.com \
--bucket '${{ secrets.OSS_BUCKET_NAME }}' \
--objectdir '${{ secrets.OSS_OBJECT_DIR }}/${{ github.ref_name }}' \
dist/ack-ram-tool*.tar.gz dist/checksums.txt
build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a718477

Please sign in to comment.