Merge branch 'main' of https://github.com/qua-platform/quam #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is used for creating draft release on GitHub. Firstly the | ||
# build workflow (.github/workflows/reusable-build.yaml) is triggered for | ||
# creation wheel and sdist package archives. Then the draft GitHub release is | ||
# created with attached built python package archives. | ||
name: Create GitHub draft release | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
jobs: | ||
build: | ||
uses: qua-platform/quam/.github/workflows/reusable-build.yaml@main | ||
with: | ||
ref: ${{ env.GITHUB_REF_NAME }} | ||
Check failure on line 17 in .github/workflows/release_github.yaml GitHub Actions / Create GitHub draft releaseInvalid workflow file
|
||
release: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
path: dist | ||
merge-multiple: true | ||
pattern: python-package-* | ||
- name: Create release | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | ||
gh release create ${{ github.ref_name }} | ||
--generate-notes --verify-tag --latest | ||
--draft | ||
"dist/quam-${GITHUB_REF_NAME#v}-py3-none-any.whl" | ||
"dist/quam-${GITHUB_REF_NAME#v}.tar.gz" |