Skip to content

Update to 0.6.5 (#99) #30

Update to 0.6.5 (#99)

Update to 0.6.5 (#99) #30

Workflow file for this run

name: release
on:
push:
tags:
- v*.*.*
env:
# THIS GITHUB_TOKEN IS A REQUIREMENT TO BE ABLE TO WRITE TO GH RELEASES
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
publish_binary:
name: publish
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
# https://github.com/actions/checkout/issues/290
- run: git fetch --force --tags
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
repo: pulumi/pulumictl
- name: Set PreRelease Version
run: echo "GORELEASER_CURRENT_TAG=v$(pulumictl get version --language generic)" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: -p 3 release --rm-dist
- name: Build Python SDK
run: make build_python
- name: Publish Python SDK
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: sdk/python/bin/dist/