upload/download-artifact v4
This commit is contained in:
parent
9b33637538
commit
c8aca74587
10
.github/workflows/publish.yaml
vendored
10
.github/workflows/publish.yaml
vendored
@ -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/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user