File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 if : startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
4343 shell : bash
4444 run : |
45- echo "::group:: Installing ossutil2"
45+ echo "Installing ossutil2"
4646 curl -o ossutil.zip https://gosspublic.alicdn.com/ossutil/v2/2.1.1/ossutil-2.1.1-linux-amd64.zip
4747 unzip -o ossutil.zip
4848 chmod 755 ossutil-2.1.1-linux-amd64/ossutil
5151
5252 echo "ossutil2 installation completed"
5353
54- # Set the OSS configuration
55- ossutil config set Region oss-cn-beijing
56- ossutil config set endpoint oss-cn-beijing.aliyuncs.com
57- ossutil config set accessKeyID ${{ secrets.ALICLOUDOSS_KEY_ID }}
58- ossutil config set accessKeySecret ${{ secrets.ALICLOUDOSS_KEY_SECRET }}
59-
6054 - name : Upload to Aliyun OSS
6155 # if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
6256 shell : bash
You can’t perform that action at this time.
0 commit comments