From bcbb8a7090508ce31db826eaed887eb1ee35942c Mon Sep 17 00:00:00 2001 From: AdamYuan Date: Fri, 20 Sep 2024 21:46:40 +0800 Subject: [PATCH] Fix errors in Github Action --- .github/workflows/linux.yml | 4 ++-- .github/workflows/macos.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 32292ba..a13ee19 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -27,7 +27,7 @@ jobs: } steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install dependencies run: | @@ -62,7 +62,7 @@ jobs: ${{ matrix.config.archiver }} ../${{ matrix.config.artifact }} . - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: ./${{ matrix.config.artifact }} name: ${{ matrix.config.artifact }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 2fb6c33..28fd8f9 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -27,7 +27,7 @@ jobs: } steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install dependencies run: | @@ -61,7 +61,7 @@ jobs: ${{ matrix.config.archiver }} ../${{ matrix.config.artifact }} . - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: ./${{ matrix.config.artifact }} name: ${{ matrix.config.artifact }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 114a267..062ab6e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -39,7 +39,7 @@ jobs: } steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure shell: bash @@ -70,7 +70,7 @@ jobs: ${{ matrix.config.archiver }} ../${{ matrix.config.artifact }} . - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: ./${{ matrix.config.artifact }} name: ${{ matrix.config.artifact }}