mirror of
https://github.com/clangd/clangd.git
synced 2025-04-21 08:03:00 +00:00
discard use of release.env
This commit is contained in:
parent
fe23e62a07
commit
3a8d41e5bc
20
.github/workflows/autobuild.yaml
vendored
20
.github/workflows/autobuild.yaml
vendored
@ -116,14 +116,6 @@ jobs:
|
|||||||
${{ env.RELEASE_DESCRIPTION }}
|
${{ env.RELEASE_DESCRIPTION }}
|
||||||
|
|
||||||
Built from ${{ env.LLVM_REPO }}@${{ env.LLVM_COMMIT }}.
|
Built from ${{ env.LLVM_REPO }}@${{ env.LLVM_COMMIT }}.
|
||||||
- name: Preserve release info
|
|
||||||
run: |
|
|
||||||
echo "TAG_NAME=${{ env.TAG_NAME }}" >> release.env
|
|
||||||
- name: Upload result
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: release
|
|
||||||
path: release.env
|
|
||||||
# Build clangd using CMake/Ninja.
|
# Build clangd using CMake/Ninja.
|
||||||
#
|
#
|
||||||
# This step is a template that runs on each OS, build config varies slightly.
|
# This step is a template that runs on each OS, build config varies slightly.
|
||||||
@ -245,9 +237,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: release
|
name: release
|
||||||
- name: Put release info into env
|
- name: Put release info into env
|
||||||
run: |
|
run: cat commit.env >> $GITHUB_ENV
|
||||||
cat commit.env >> $GITHUB_ENV
|
|
||||||
cat release.env >> $GITHUB_ENV
|
|
||||||
shell: bash
|
shell: bash
|
||||||
# Use environment variables set above to create a directory. This needs
|
# Use environment variables set above to create a directory. This needs
|
||||||
# to be a separate step because they are not in the context yet when
|
# to be a separate step because they are not in the context yet when
|
||||||
@ -325,12 +315,12 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
if: always() && needs.build.result == 'success'
|
if: always() && needs.build.result == 'success'
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch release info
|
- name: Fetch environment variables
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: release
|
name: env
|
||||||
- name: Update the env variables
|
- name: Set environment variables
|
||||||
run: cat release.env >> $GITHUB_ENV
|
run: cat commit.env >> $GITHUB_ENV
|
||||||
- name: Setup gh
|
- name: Setup gh
|
||||||
uses: wusatosi/setup-gh@v1
|
uses: wusatosi/setup-gh@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user