mirror of
https://github.com/clangd/clangd.git
synced 2025-04-20 23:53:02 +00:00
Update actions/* dependencies
This commit is contained in:
parent
6e7f5968ba
commit
93156b38a4
31
.github/workflows/autobuild.yaml
vendored
31
.github/workflows/autobuild.yaml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get install jq
|
sudo apt-get install jq
|
||||||
- name: Clone scripts
|
- name: Clone scripts
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
# Choose the commit to build a release from.
|
# Choose the commit to build a release from.
|
||||||
#
|
#
|
||||||
# We want to avoid unbuildable revisions: choose the last green from CI.
|
# We want to avoid unbuildable revisions: choose the last green from CI.
|
||||||
@ -68,7 +68,7 @@ jobs:
|
|||||||
run: >
|
run: >
|
||||||
echo "RELEASE_DESCRIPTION=Unstable snapshot of clangd on ${{ env.RELEASE_DATE }}." >> commit.env
|
echo "RELEASE_DESCRIPTION=Unstable snapshot of clangd on ${{ env.RELEASE_DATE }}." >> commit.env
|
||||||
- name: Upload result
|
- name: Upload result
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: env
|
name: env
|
||||||
path: commit.env
|
path: commit.env
|
||||||
@ -85,7 +85,7 @@ jobs:
|
|||||||
echo "RELEASE_NAME=${{ github.event.inputs.release_name }}" >> commit.env
|
echo "RELEASE_NAME=${{ github.event.inputs.release_name }}" >> commit.env
|
||||||
echo "RELEASE_DESCRIPTION=${{ github.event.inputs.description }}" >> commit.env
|
echo "RELEASE_DESCRIPTION=${{ github.event.inputs.description }}" >> commit.env
|
||||||
- name: Upload result
|
- name: Upload result
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: env
|
name: env
|
||||||
path: commit.env
|
path: commit.env
|
||||||
@ -99,7 +99,7 @@ jobs:
|
|||||||
if: always() && (needs.schedule_environment.result == 'success' || needs.workflow_dispatch_environment.result == 'success')
|
if: always() && (needs.schedule_environment.result == 'success' || needs.workflow_dispatch_environment.result == 'success')
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch environment variables
|
- name: Fetch environment variables
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
env
|
env
|
||||||
@ -126,7 +126,7 @@ jobs:
|
|||||||
echo "TAG_NAME=${{ env.TAG_NAME }}" >> release.env
|
echo "TAG_NAME=${{ env.TAG_NAME }}" >> release.env
|
||||||
echo "RELEASE_ID=${{ steps.create_release.outputs.id }}" >> release.env
|
echo "RELEASE_ID=${{ steps.create_release.outputs.id }}" >> release.env
|
||||||
- name: Upload result
|
- name: Upload result
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: release
|
name: release
|
||||||
path: release.env
|
path: release.env
|
||||||
@ -196,8 +196,9 @@ jobs:
|
|||||||
container: ${{ matrix.config.container }}
|
container: ${{ matrix.config.container }}
|
||||||
steps:
|
steps:
|
||||||
- name: Clone scripts
|
- name: Clone scripts
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with: { ref: master }
|
with:
|
||||||
|
ref: master
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: ${{ matrix.config.preinstall }}
|
run: ${{ matrix.config.preinstall }}
|
||||||
# Visual Studio tools require a bunch of environment variables to be set.
|
# Visual Studio tools require a bunch of environment variables to be set.
|
||||||
@ -214,7 +215,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
- name: Clone gRPC
|
- name: Clone gRPC
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: grpc/grpc
|
repository: grpc/grpc
|
||||||
path: grpc
|
path: grpc
|
||||||
@ -239,15 +240,13 @@ jobs:
|
|||||||
|
|
||||||
ninja -C grpc-build install
|
ninja -C grpc-build install
|
||||||
- name: Fetch target commit
|
- name: Fetch target commit
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name:
|
name: env
|
||||||
env
|
|
||||||
- name: Fetch release info
|
- name: Fetch release info
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name:
|
name: release
|
||||||
release
|
|
||||||
- name: Put release info into env
|
- name: Put release info into env
|
||||||
run: |
|
run: |
|
||||||
cat env/commit.env >> $GITHUB_ENV
|
cat env/commit.env >> $GITHUB_ENV
|
||||||
@ -261,7 +260,7 @@ jobs:
|
|||||||
echo "CLANGD_DIR=clangd_${{ env.TAG_NAME }}" >> $GITHUB_ENV
|
echo "CLANGD_DIR=clangd_${{ env.TAG_NAME }}" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Clone LLVM
|
- name: Clone LLVM
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: ${{ env.LLVM_REPO }}
|
repository: ${{ env.LLVM_REPO }}
|
||||||
path: llvm-project
|
path: llvm-project
|
||||||
@ -337,7 +336,7 @@ jobs:
|
|||||||
if: always() && needs.build.result == 'success'
|
if: always() && needs.build.result == 'success'
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch release info
|
- name: Fetch release info
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
release
|
release
|
||||||
|
Loading…
Reference in New Issue
Block a user