mirror of
https://github.com/clangd/clangd.git
synced 2025-02-23 00:49:47 +00:00
Use upload-artifact@v4 and download-artifact@v4 (#2306)
Fixes https://github.com/clangd/clangd/issues/2305
This commit is contained in:
parent
0a7499759d
commit
8ea4a27f46
14
.github/workflows/autobuild.yaml
vendored
14
.github/workflows/autobuild.yaml
vendored
@ -70,7 +70,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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: env
|
name: env
|
||||||
path: commit.env
|
path: commit.env
|
||||||
@ -87,7 +87,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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: env
|
name: env
|
||||||
path: commit.env
|
path: commit.env
|
||||||
@ -101,7 +101,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@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
env
|
env
|
||||||
@ -130,7 +130,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@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: release
|
name: release
|
||||||
path: release.env
|
path: release.env
|
||||||
@ -245,14 +245,14 @@ jobs:
|
|||||||
|
|
||||||
ninja -C grpc-build install
|
ninja -C grpc-build install
|
||||||
- name: Fetch target commit
|
- name: Fetch target commit
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
env
|
env
|
||||||
path:
|
path:
|
||||||
env
|
env
|
||||||
- name: Fetch release info
|
- name: Fetch release info
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
release
|
release
|
||||||
@ -363,7 +363,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@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name:
|
name:
|
||||||
release
|
release
|
||||||
|
Loading…
Reference in New Issue
Block a user