From e5cece30181aae594941f1fe0a125feae863bbcd Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Thu, 23 May 2024 12:34:22 -0700 Subject: [PATCH] workflow: bump all actions actions/checkout@v1 -> v4 actions/upload-artifact@v2 -> v4 actions/download-artifact@v2 -> v4 --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89f392f..419fd85 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,7 @@ jobs: commit_message: ${{ steps.build.outputs.commit_message }} steps: - name: Checkout repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Install tools run: | sudo apt-get update @@ -54,7 +54,7 @@ jobs: echo ::set-output name=commit_subject::$(git log -1 "$GITHUB_SHA" --pretty="%s") echo ::set-output name=commit_message::$(git log -1 "$GITHUB_SHA" --pretty="%b") - name: Publish build to GH Actions - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: ~/artifacts/* name: build @@ -74,7 +74,7 @@ jobs: current_date: ${{ steps.commit.outputs.current_date }} steps: - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: build path: build