Skip to content

Release

Release #37

Workflow file for this run

name: "Release"
on:
workflow_dispatch:
jobs:
release:
name: Tag and Release
runs-on: ubuntu-latest
steps:
- name: But Test First
uses: ${{ github.repository }}/.github/workflows/test.yml@main

Check failure on line 12 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 12, Col: 13): Unrecognized named-value: 'github'. Located at position 1 within expression: github.repository
- name: Checkout repository (full-depth)
uses: actions/checkout@v4
with: { fetch-depth: 0 } # Required to determine version
- name: Get next release version
uses: dronetag/actions/semantic-release@main
id: semantic
- name: Build package
uses: dronetag/actions/build-python@main
with:
version: ${{ steps.semantic.outputs.version }}
- name: Commit and tag
if: ${{ steps.semantic.outputs.existed == 'false' }}
uses: dronetag/actions/commit-and-tag@main
with:
version: ${{ steps.semantic.outputs.version }}
git-add: changelog.md
commit: true
github-token: ${{ github.token }}
- name: Release
uses: dronetag/actions/release-python@main
with:
pypi-name: dronetag
pypi-host: ${{ secrets.PRIV_PIP_HOST }}
pypi-user: ${{ secrets.PRIV_PIP_USER }}
pypi-pass: ${{ secrets.PRIV_PIP_PASSWORD }}