From 9d044c747383b571a02e79b2a1aa8ef43084de6e Mon Sep 17 00:00:00 2001 From: Wu Tingfeng Date: Thu, 20 Oct 2022 17:01:21 +0800 Subject: [PATCH] Upgrade GitHub Actions --- .github/workflows/mean_bean_ci.yml | 12 ++++++------ .github/workflows/mean_bean_deploy.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/mean_bean_ci.yml b/.github/workflows/mean_bean_ci.yml index 42359735a..ea7e78958 100644 --- a/.github/workflows/mean_bean_ci.yml +++ b/.github/workflows/mean_bean_ci.yml @@ -21,7 +21,7 @@ jobs: repo: cross matches: ${{ matrix.platform }} token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: cross-${{ matrix.platform }} path: ${{ steps.cross.outputs.install_path }} @@ -37,7 +37,7 @@ jobs: # artifacts are downloaded first. needs: install-cross steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: ci/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }} shell: bash - run: ci/build.bash cargo ${{ matrix.target }} @@ -63,8 +63,8 @@ jobs: runs-on: macos-latest needs: install-cross steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v2 + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 with: name: cross-apple-darwin path: /usr/local/bin/ @@ -92,9 +92,9 @@ jobs: runs-on: ubuntu-latest needs: install-cross steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Download Cross - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: cross-linux-musl path: /tmp/ diff --git a/.github/workflows/mean_bean_deploy.yml b/.github/workflows/mean_bean_deploy.yml index 2caac66d8..d8e7f3aba 100644 --- a/.github/workflows/mean_bean_deploy.yml +++ b/.github/workflows/mean_bean_deploy.yml @@ -23,7 +23,7 @@ jobs: repo: cross matches: ${{ matrix.platform }} token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 with: name: cross-${{ matrix.platform }} path: ${{ steps.cross.outputs.install_path }} @@ -44,7 +44,7 @@ jobs: # - i686-pc-windows-gnu # - x86_64-pc-windows-gnu steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # FIXME: Hack around thinLTO being broken. - run: echo "RUSTFLAGS=-Clto=fat" >> $GITHUB_ENV - run: bash ci/set_rust_version.bash stable ${{ matrix.target }} @@ -87,8 +87,8 @@ jobs: # - i386-apple-ios # - x86_64-apple-ios steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v1 + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 with: name: cross-apple-darwin path: /usr/local/bin/ @@ -162,8 +162,8 @@ jobs: # - thumbv7em-none-eabihf # - thumbv7m-none-eabi steps: - - uses: actions/checkout@v2 - - uses: actions/download-artifact@v1 + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 with: name: cross-linux-musl path: /tmp/