upload/download-artifact v4

This commit is contained in:
David Lord 2024-04-23 15:48:42 -07:00
parent 9b33637538
commit c8aca74587
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8

View File

@ -45,11 +45,13 @@ jobs:
contents: write
steps:
- uses: actions/download-artifact@9c19ed7fe5d278cd354c7dfd5d3b88589c7e2395 # v4.1.6
with:
merge-multiple: true
- name: create release
run: >
gh release create --draft --repo ${{ github.repository }}
${{ github.ref_name }}
*.intoto.jsonl/* artifact/*
*.intoto.jsonl/* dist/*
env:
GH_TOKEN: ${{ github.token }}
publish-pypi:
@ -64,10 +66,12 @@ jobs:
id-token: write
steps:
- uses: actions/download-artifact@9c19ed7fe5d278cd354c7dfd5d3b88589c7e2395 # v4.1.6
with:
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: artifact/
packages-dir: dist/
- uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
with:
packages-dir: artifact/
packages-dir: dist/