From 67f2bc382f6ba5ba75812a05909e8c25a366b5fb Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Wed, 23 Apr 2025 10:27:20 -0400 Subject: [PATCH 1/2] Fix workflow example for downloading by artifact ID --- docs/MIGRATION.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index fd1781d..b5ab8cc 100644 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -219,21 +219,29 @@ To take advantage of this immutability for security purposes (to avoid potential jobs: upload: runs-on: ubuntu-latest + + # Make the artifact ID available to the download job + outputs: + artifact-id: ${{ steps.upload-step.outputs.artifact-id }} + steps: - name: Create a file run: echo "hello world" > my-file.txt - name: Upload Artifact - id: upload + id: upload-step uses: actions/upload-artifact@v4 with: name: my-artifact path: my-file.txt # The upload step outputs the artifact ID - name: Print Artifact ID - run: echo "Artifact ID is ${{ steps.upload.outputs.artifact-id }}" + run: echo "Artifact ID is ${{ steps.upload-step.outputs.artifact-id }}" + download: needs: upload + runs-on: ubuntu-latest + steps: - name: Download Artifact by ID uses: actions/download-artifact@v4 From 84fc7a0a358aabc7f97f7f590cbfc25f57e26c6a Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Wed, 23 Apr 2025 10:32:04 -0400 Subject: [PATCH 2/2] Remove path filters from Check dist workflow --- .github/workflows/check-dist.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index cd90053..452f175 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -10,11 +10,7 @@ on: push: branches: - main - paths-ignore: - - '**.md' pull_request: - paths-ignore: - - '**.md' workflow_dispatch: jobs: