diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 191cfd0..aa704fd 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@main + uses: actions/checkout@v4 - name: Install tools run: | sudo apt-get update @@ -42,7 +42,7 @@ jobs: cp -f ${{ github.workspace }}/README.md ${{ github.workspace }}/LICENSE ${{ github.workspace }}/module cp -f ${{ github.workspace }}/build/accurate_battery ${{ github.workspace }}/module/common - name : Zip and upload module - uses: actions/upload-artifact@main + uses: actions/upload-artifact@v4 with: name: accurate_battery path: ${{ github.workspace }}/module/* diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index bff2eff..813f3dd 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@main + uses: actions/checkout@v4 - name: Install tools run: | sudo apt-get update diff --git a/.github/workflows/sync-gitee.yml b/.github/workflows/sync-gitee.yml index 231947e..e0c682a 100644 --- a/.github/workflows/sync-gitee.yml +++ b/.github/workflows/sync-gitee.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@main + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install tools