diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 217ad8f..a1da843 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -20,7 +20,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 4376f4c..692bd99 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,7 +17,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 1d9caa7..8d1f139 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Node.js 12.x uses: actions/setup-node@v1 @@ -50,7 +50,7 @@ jobs: run: | mkdir -p path/to/dir-1 mkdir -p path/to/dir-2 - mkdir -p path/to/dir-3 + mkdir -p path/to/dir-3 echo "Lorem ipsum dolor sit amet" > path/to/dir-1/file1.txt echo "Hello world from file #2" > path/to/dir-2/file2.txt echo "This is a going to be a test for a large enough file that should get compressed with GZip. The @actions/artifact package uses GZip to upload files. This text should have a compression ratio greater than 100% so it should get uploaded using GZip" > path/to/dir-3/gzip.txt @@ -127,7 +127,7 @@ jobs: Write-Error "File contents of downloaded artifacts are incorrect" } shell: pwsh - + # Download Artifact #3 and verify the correctness of the content - name: 'Download artifact #3' uses: actions/download-artifact@v1 diff --git a/README.md b/README.md index a8ef47c..65dbbbb 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ See [action.yml](action.yml) ```yaml steps: -- uses: actions/checkout@v2 +- uses: actions/checkout@v3 - run: mkdir -p path/to/artifact @@ -209,7 +209,7 @@ For environment variables created in other steps, make sure to use the `env` exp ```yaml steps: - - run: | + - run: | mkdir testing echo "This is a file to upload" > testing/file.txt echo "artifactPath=testing/file.txt" >> $GITHUB_ENV