From 4b5d26721f9d7a0a73480504a17d57aac623d5a4 Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Sat, 12 Mar 2022 19:17:02 +0100 Subject: [PATCH] Update GitHub Actions (#638) Co-authored-by: Renovate Bot --- .github/workflows/build.yml | 16 ++++++++-------- .github/workflows/release.yml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ba8bcd3..d3712eb6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,14 +25,14 @@ jobs: outputs: version: ${{ steps.package_info.outputs.version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Current version id: package_info run: | VERSION=$(node -e 'console.log(require("./package.json").version)') echo "::set-output name=version::v$VERSION" - name: Set up Node ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} # libgbm-dev is required by Puppeteer 3+ @@ -53,19 +53,19 @@ jobs: npm run build if: matrix.primary - name: Upload Windows artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: win-binary path: build/asciidoctor-web-pdf-win.zip if: matrix.primary - name: Upload macOS artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: mac-binary path: build/asciidoctor-web-pdf-mac.zip if: matrix.primary - name: Upload Linux artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: linux-binary path: build/asciidoctor-web-pdf-linux.zip @@ -74,7 +74,7 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: linux-binary - name: Unzip @@ -91,7 +91,7 @@ jobs: needs: build runs-on: macos-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: mac-binary - name: Unzip @@ -108,7 +108,7 @@ jobs: needs: build runs-on: windows-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: win-binary - name: Unzip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 533dad03..4783ae47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,8 +9,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 # libgbm-dev is required by Puppeteer 3+ @@ -30,8 +30,8 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 14 # libgbm-dev is required by Puppeteer 3+ @@ -54,7 +54,7 @@ jobs: # create the GitHub release - name: Create release id: create_release - uses: actions/create-release@v1.0.0 + uses: actions/create-release@v1.1.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -64,7 +64,7 @@ jobs: prerelease: true # upload assets - name: Upload macOS binary (zip) - uses: actions/upload-release-asset@v1.0.1 + uses: actions/upload-release-asset@v1.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -73,7 +73,7 @@ jobs: asset_name: asciidoctor-web-pdf-mac-${{ env.RELEASE_VERSION }}.zip asset_content_type: application/zip - name: Upload Windows binary (zip) - uses: actions/upload-release-asset@v1.0.1 + uses: actions/upload-release-asset@v1.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -82,7 +82,7 @@ jobs: asset_name: asciidoctor-web-pdf-win-${{ env.RELEASE_VERSION }}.zip asset_content_type: application/zip - name: Upload Linux binary (zip) - uses: actions/upload-release-asset@v1.0.1 + uses: actions/upload-release-asset@v1.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: