chore: make ci-mgmt
This commit is contained in:
27
.github/workflows/release.yml
vendored
27
.github/workflows/release.yml
vendored
@@ -7,24 +7,19 @@ on:
|
||||
- "!v*.*.*-**"
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
|
||||
PUBLISH_REPO_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
|
||||
PUBLISH_REPO_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
||||
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
|
||||
PULUMI_API: https://api.pulumi-staging.io
|
||||
PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..
|
||||
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
|
||||
PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
||||
PYPI_USERNAME: __token__
|
||||
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}
|
||||
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}
|
||||
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}
|
||||
PULUMI_PROVIDER_AUTOMATION_TOKEN: ${{ secrets.PULUMI_PROVIDER_AUTOMATION_TOKEN }}
|
||||
PULUMI_PULUMI_ENABLE_JOURNALING: "true"
|
||||
TF_APPEND_USER_AGENT: pulumi
|
||||
|
||||
jobs:
|
||||
prerequisites:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
id-token: write # For ESC secrets.
|
||||
uses: ./.github/workflows/prerequisites.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
@@ -36,6 +31,9 @@ jobs:
|
||||
uses: ./.github/workflows/build_provider.yml
|
||||
needs: prerequisites
|
||||
secrets: inherit
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write # For ESC secrets.
|
||||
with:
|
||||
version: ${{ needs.prerequisites.outputs.version }}
|
||||
|
||||
@@ -44,6 +42,9 @@ jobs:
|
||||
needs: prerequisites
|
||||
uses: ./.github/workflows/build_sdk.yml
|
||||
secrets: inherit
|
||||
permissions:
|
||||
contents: write # For Renovate SDKs.
|
||||
id-token: write # For ESC secrets.
|
||||
with:
|
||||
version: ${{ needs.prerequisites.outputs.version }}
|
||||
|
||||
@@ -72,6 +73,8 @@ jobs:
|
||||
with:
|
||||
version: ${{ needs.prerequisites.outputs.version }}
|
||||
isPrerelease: false
|
||||
# Only tags on the default branch should set the release as `latest`; backported releases (tagged on a feature branch) should not.
|
||||
setLatestRelease: ${{ github.event.base_ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
||||
|
||||
test:
|
||||
uses: ./.github/workflows/test.yml
|
||||
|
||||
Reference in New Issue
Block a user