Skip to content

debug release CI 03 #10

debug release CI 03

debug release CI 03 #10

Workflow file for this run

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 }}/..
#token have been remove, need to recreate it
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
PYPI_USERNAME: "__token__"
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{matrix.goversion}}
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
repo: pulumi/pulumictl
- name: build
run: |
make build_python
cp -v ./sdk/python/bin/dist/pulumi_outscale-*.tar.gz sdk/python.tar.gz
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: python-sdk.tar.gz
path: |
./sdk/python.tar.gz
- name: publish sdks
uses: pulumi/pulumi-package-publisher@main
with:
sdk: python