From c8aca7458715695d0b2aaa128f83d7dccf6e459f Mon Sep 17 00:00:00 2001 From: David Lord Date: Tue, 23 Apr 2024 15:48:42 -0700 Subject: [PATCH] upload/download-artifact v4 --- .github/workflows/publish.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8742c66f7..28ee6f448 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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/