From 895dd2a38c1d6e6082c9cbe04534e6b5c416f6db Mon Sep 17 00:00:00 2001 From: Matthias Gatto Date: Mon, 19 Aug 2024 15:15:11 +0200 Subject: [PATCH] release.yml Signed-off-by: Matthias Gatto --- .github/workflows/release.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..37438f5 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,27 @@ +name: release +on: + push: + tags: + - v*.*.* + +permissions: + contents: write + id-token: write + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + PROVIDER: outscale + PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/.. + PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + PYPI_USERNAME: "__token__" + +jobs: + publish: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - uses: pulumi/pulumi-package-publisher@main + with: + sdk: python,nodejs