diff --git a/.github/workflows/autobuild.yaml b/.github/workflows/autobuild.yaml index 682c490..42f956c 100644 --- a/.github/workflows/autobuild.yaml +++ b/.github/workflows/autobuild.yaml @@ -37,7 +37,7 @@ jobs: run: | sudo apt-get install jq - name: Clone scripts - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Choose the commit to build a release from. # # We want to avoid unbuildable revisions: choose the last green from CI. @@ -68,7 +68,7 @@ jobs: run: > echo "RELEASE_DESCRIPTION=Unstable snapshot of clangd on ${{ env.RELEASE_DATE }}." >> commit.env - name: Upload result - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: env path: commit.env @@ -85,7 +85,7 @@ jobs: echo "RELEASE_NAME=${{ github.event.inputs.release_name }}" >> commit.env echo "RELEASE_DESCRIPTION=${{ github.event.inputs.description }}" >> commit.env - name: Upload result - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: env path: commit.env @@ -99,7 +99,7 @@ jobs: if: always() && (needs.schedule_environment.result == 'success' || needs.workflow_dispatch_environment.result == 'success') steps: - name: Fetch environment variables - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: env @@ -126,7 +126,7 @@ jobs: echo "TAG_NAME=${{ env.TAG_NAME }}" >> release.env echo "RELEASE_ID=${{ steps.create_release.outputs.id }}" >> release.env - name: Upload result - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: release path: release.env @@ -196,8 +196,9 @@ jobs: container: ${{ matrix.config.container }} steps: - name: Clone scripts - uses: actions/checkout@v2 - with: { ref: master } + uses: actions/checkout@v3 + with: + ref: master - name: Install tools run: ${{ matrix.config.preinstall }} # Visual Studio tools require a bunch of environment variables to be set. @@ -214,7 +215,7 @@ jobs: } } - name: Clone gRPC - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: grpc/grpc path: grpc @@ -239,15 +240,13 @@ jobs: ninja -C grpc-build install - name: Fetch target commit - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: - name: - env + name: env - name: Fetch release info - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: - name: - release + name: release - name: Put release info into env run: | cat env/commit.env >> $GITHUB_ENV @@ -261,7 +260,7 @@ jobs: echo "CLANGD_DIR=clangd_${{ env.TAG_NAME }}" >> $GITHUB_ENV shell: bash - name: Clone LLVM - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: ${{ env.LLVM_REPO }} path: llvm-project @@ -337,7 +336,7 @@ jobs: if: always() && needs.build.result == 'success' steps: - name: Fetch release info - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v3 with: name: release