Bump version v24.04.0a2 -> v24.04.0a3 #2
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
--- | |
name: Release | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- release/* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install pypa/build | |
run: python -m pip install build | |
- name: Build a binary wheel for the aiidalab_qe module | |
run: >- | |
python -m | |
build | |
--sdist | |
--wheel | |
--outdir dist/ | |
- name: Upload distribution artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: release | |
path: dist/ | |
publish: | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/download-artifact@v4 | |
name: Download distribution artifact | |
with: | |
name: release | |
path: dist/ | |
- uses: softprops/[email protected] | |
name: Create release | |
if: startsWith(github.ref, 'refs/tags/v') | |
with: | |
files: | | |
dist/* | |
generate_release_notes: true |