Bumbed python version to 3.12 in GH action #1
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: Build, test and publish | |
on: push | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build12: | |
uses: ./.github/workflows/build.yaml | |
with: | |
oarepo: 12 | |
publish: | |
runs-on: ubuntu-latest | |
needs: build12 | |
steps: | |
- name: Use built artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
- name: List files | |
run: | | |
ls -la | |
ls -la dist | |
- name: Publish package | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
skip_existing: true | |
user: __token__ | |
password: ${{ secrets.PYPI_PASSWORD }} |