A basic action to retrieve a Cloudsmith OIDC token.
Example:
permissions:
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: secondlife/cloudsmith-oidc@v1
id: cloudsmith-oidc
with:
# Your Cloudsmith organization name
account: account-name
# Your OIDC service account slug ("service identifier")
service: service-XXXX
- name: Push
id: push
uses: cloudsmith-io/action@master
with:
api-key: ${{ steps.cloudsmith-oidc.outputs.token }}
# ...