Skip to content

v0.0.14

v0.0.14 #5

Workflow file for this run

name: Publish to TestPyPI
on:
release:
types:
- released
jobs:
publish:
name: Publish to TestPyPI
runs-on: ubuntu-24.04
environment:
name: testpypi
url: https://test.pypi.org/p/jitxlib-deploytest1
permissions:
contents: read # for reading content from a repo
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Debug Dump GitHub context
shell: bash
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Debug list artifact files
shell: bash
run: |
ls -la || true
- name: Fetch Release
uses: robinraju/release-downloader@v1
with:
repository: ${{ github.repository }}
tag: ${{ github.ref_name }}
fileName: '*'
out-file-path: dist/
extract: false
- name: Debug list artifact files
shell: bash
run: |
ls -la dist/ || true
- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: dist/