From e206ceafc68f32f10df683d79ddb618feae28875 Mon Sep 17 00:00:00 2001 From: Yuyuan Yuan Date: Mon, 26 Aug 2024 21:17:30 +0800 Subject: [PATCH] ci: add checkout in the release workflow (#27) * ci: add checkout in the release workflow * ci: upgrade checkout to v4 --- .github/workflows/macos.yml | 2 +- .github/workflows/release.yml | 7 +++++-- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5f03fbc..f40a1ce 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -35,7 +35,7 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Rust toolchain run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30014de..174c691 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup the Wireshark library id: wireshark_lib @@ -96,8 +96,11 @@ jobs: needs: builds runs-on: [ self-hosted, ubuntu-20.04 ] steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Download the artifacts of previous builds - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ARTIFACTS diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 408e864..e840b57 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -36,7 +36,7 @@ jobs: os: [ubuntu-22.04, ubuntu-20.04] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Rust toolchain run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 955d22e..ce211e3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -43,7 +43,7 @@ jobs: # - windows-11 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: |