Github Action !!exclusive!! Download Artifact Unzip [FRESH]
: Ensure your current job needs the job that uploaded the artifact.
: Use the actions/download-artifact action. By default, it decompresses zipped artifacts. github action download artifact unzip
jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: echo "hello world" > output.txt - uses: actions/upload-artifact@v4 with: name: my-artifact path: output.txt deploy: needs: build runs-on: ubuntu-latest steps: - name: Download artifact uses: actions/download-artifact@v4 with: name: my-artifact path: extracted-files/ # Files will be unzipped here automatically - name: Verify files run: ls -R extracted-files/ Use code with caution. Key Considerations for v4 and v7 Cannot unzip the artifact downloaded - github actions : Ensure your current job needs the job