From a155315dd86831532b9051d5746751d9c38d80e8 Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Wed, 12 Oct 2022 21:41:23 +0800 Subject: [PATCH] ci: update --- .github/workflows/i18n-luci-18.06.yml | 6 +++--- .github/workflows/release-build.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/i18n-luci-18.06.yml b/.github/workflows/i18n-luci-18.06.yml index c8775f8..da739f7 100644 --- a/.github/workflows/i18n-luci-18.06.yml +++ b/.github/workflows/i18n-luci-18.06.yml @@ -16,7 +16,7 @@ jobs: - x86_64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main with: fetch-depth: 0 @@ -34,14 +34,14 @@ jobs: for i in `ls *.ipk`; do mv -f $i `echo "openwrt-18.06_"$i`; done - name: Store packages - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: github.event_name != 'release' with: name: ${{ matrix.arch}}-${{ github.sha}}-packages path: "*.ipk" - name: Upload packages - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@master if: github.event_name == 'release' with: repo_token: ${{ secrets.workflow_token }} diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 3d3c9fb..87e2192 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -42,7 +42,7 @@ jobs: - x86_64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main with: fetch-depth: 0 @@ -55,13 +55,13 @@ jobs: NO_REFRESH_CHECK: true - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.arch }} path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk - name: Upload packages - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@master if: github.event_name == 'release' with: repo_token: ${{ secrets.workflow_token }}