Skip to content

test: test with configure-aliyun-credentials-action action #4

test: test with configure-aliyun-credentials-action action

test: test with configure-aliyun-credentials-action action #4

Workflow file for this run

name: Test with configure-aliyun-credentials-action
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- uses: actions/checkout@v3
with:
submodules: true
- name: Configure credentials
uses: aliyun/configure-aliyun-credentials-action@v1-beta
with:
role-to-assume: 'acs:ram::1325847523475998:role/clitestramrolearn'
oidc-provider-arn: 'acs:ram::1325847523475998:oidc-provider/GitHub'
- name: Build
run: make build
- name: Who am I
run: out/aliyun sts GetCallerIdentity