diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 16c2117..ebb5d07 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set Node.js 12.x uses: actions/setup-node@v1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6aa8d71..6acd850 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 4c1dfe5..04af62a 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest name: Check licenses steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: npm ci - name: Install licensed run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3eea7de..95429a9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 12.x uses: actions/setup-node@v1 @@ -38,7 +38,7 @@ jobs: run: npm run lint - name: Format - run: npm run format-check + run: npm run format-check # Test end-to-end by uploading two artifacts and then downloading them # Once upload-artifact v2 is out of preview, switch over @@ -48,7 +48,7 @@ jobs: mkdir -p path/to/artifact-B echo "Lorem ipsum dolor sit amet" > path/to/artifact-A/file-A.txt echo "Hello world from file B" > path/to/artifact-B/file-B.txt - + - name: Upload artifact A uses: actions/upload-artifact@v1 with: @@ -108,5 +108,3 @@ jobs: Write-Error "File contents of downloaded artifacts are incorrect" } shell: pwsh - - \ No newline at end of file diff --git a/README.md b/README.md index a2219e7..d5f3202 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,12 @@ See [action.yml](action.yml) Basic (download to the current working directory): ```yaml steps: -- uses: actions/checkout@v2 +- uses: actions/checkout@v3 - uses: actions/download-artifact@v3 with: name: my-artifact - + - name: Display structure of downloaded files run: ls -R ``` @@ -34,13 +34,13 @@ steps: Download to a specific directory: ```yaml steps: -- uses: actions/checkout@v2 +- uses: actions/checkout@v3 - uses: actions/download-artifact@v3 with: name: my-artifact path: path/to/artifact - + - name: Display structure of downloaded files run: ls -R working-directory: path/to/artifact @@ -93,12 +93,12 @@ Example, if there are two artifacts `Artifact-A` and `Artifact-B`, and the direc Download all artifacts to a specific directory ```yaml steps: -- uses: actions/checkout@v2 +- uses: actions/checkout@v3 - uses: actions/download-artifact@v3 with: path: path/to/artifacts - + - name: Display structure of downloaded files run: ls -R working-directory: path/to/artifacts @@ -107,7 +107,7 @@ steps: Download all artifacts to the current working directory ```yaml steps: -- uses: actions/checkout@v2 +- uses: actions/checkout@v3 - uses: actions/download-artifact@v3 @@ -121,7 +121,7 @@ The `download-path` step output contains information regarding where the artifac ```yaml steps: -- uses: actions/checkout@v2 +- uses: actions/checkout@v3 - uses: actions/download-artifact@v3 id: download @@ -157,7 +157,7 @@ If file permissions and case sensitivity are required, you can `tar` all of your uses: actions/upload-artifact@v2 with: name: my-artifact - path: my_files.tar + path: my_files.tar ``` # @actions/artifact package