From a71847766e28b391651bd20fac69e0f638065adf Mon Sep 17 00:00:00 2001 From: mozillazg Date: Thu, 18 May 2023 16:07:57 +0800 Subject: [PATCH] ci: clean up --- .github/workflows/test.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5abb2410..09810286 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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: