Skip to content

Fix 0.2.5 Release

Fix 0.2.5 Release #5

Workflow file for this run

name: Fix Release
run-name: Fix ${{ inputs.version }} Release
on:
workflow_dispatch:
inputs:
version:
description: Version
required: true
default: '0.0.0'
permissions: write-all
env:
VERSION: ${{ inputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
publish-package:
runs-on: ubuntu-latest
continue-on-error: true
env:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
ref: ${{ inputs.version }}
- uses: asdf-vm/actions/install@v3
- run: make publish-package
publish-image:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
arch: [linux/amd64, linux/arm64]
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
ref: ${{ inputs.version }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- run: make publish-image
env:
DOCKER_DEFAULT_PLATFORM: ${{ matrix.arch }}
publish-release:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: release-drafter/release-drafter@v5
with:
publish: true
version: ${{ inputs.version }}