summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-10-26 15:36:25 -0700
committerGitHub <noreply@github.com>2023-10-26 15:36:25 -0700
commitaed3bd60c0b17403c079dcb0b64edf09439375cf (patch)
tree03c86965ca13055eec3135e58dd1d7d4cf1f0d4b /.github
parent02e6c6b52d79c1da22d73f56762a550b45f90935 (diff)
Remove use of `::set-output` in github actions. (#3293)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml2
-rw-r--r--.github/workflows/release-linux.yml4
-rw-r--r--.github/workflows/release-macos.yml2
-rw-r--r--.github/workflows/release-windows.yml4
4 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index a89030d5b..eada308c9 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -52,7 +52,7 @@ jobs:
7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/slangc
7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/slangd
7z a ${SLANG_BINARY_ARCHIVE} docs/*.md
- echo "::set-output name=SLANG_BINARY_ARCHIVE::${SLANG_BINARY_ARCHIVE}"
+ echo "SLANG_BINARY_ARCHIVE=${SLANG_BINARY_ARCHIVE}" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v3
with:
name: slang-build-${{matrix.configuration}}-${{matrix.targetPlatform}}-${{matrix.compiler}}
diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml
index 8614f0c3a..3c7d1c75e 100644
--- a/.github/workflows/release-linux.yml
+++ b/.github/workflows/release-linux.yml
@@ -56,8 +56,8 @@ jobs:
zip -r ${SLANG_BINARY_ARCHIVE} bin/*/*/slangc bin/*/*/slangd bin/*/*/libslang.so bin/*/*/libslang-glslang.so bin/*/*/libgfx.so bin/*/*/libslang-llvm.so docs/*.md README.md LICENSE slang.h slang-com-helper.h slang-com-ptr.h slang-tag-version.h slang-gfx.h prelude/*.h
echo "creating tar"
tar -czf ${SLANG_BINARY_ARCHIVE_TAR} bin/*/*/slangc bin/*/*/slangd bin/*/*/libslang.so bin/*/*/libslang-glslang.so bin/*/*/libgfx.so bin/*/*/libslang-llvm.so docs/*.md README.md LICENSE slang.h slang-com-helper.h slang-com-ptr.h slang-tag-version.h slang-gfx.h prelude/*.h
- echo "::set-output name=SLANG_BINARY_ARCHIVE::${SLANG_BINARY_ARCHIVE}"
- echo "::set-output name=SLANG_BINARY_ARCHIVE_TAR::${SLANG_BINARY_ARCHIVE_TAR}"
+ echo "SLANG_BINARY_ARCHIVE=${SLANG_BINARY_ARCHIVE}" >> $GITHUB_OUTPUT
+ echo "SLANG_BINARY_ARCHIVE_TAR=${SLANG_BINARY_ARCHIVE_TAR}" >> $GITHUB_OUTPUT
- name: UploadBinary
uses: softprops/action-gh-release@v1
with:
diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml
index 8a372e3b3..f0e8dab1b 100644
--- a/.github/workflows/release-macos.yml
+++ b/.github/workflows/release-macos.yml
@@ -88,7 +88,7 @@ jobs:
7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/slangc
7z a ${SLANG_BINARY_ARCHIVE} bin/*/*/slangd
7z a ${SLANG_BINARY_ARCHIVE} docs/*.md
- echo "::set-output name=SLANG_BINARY_ARCHIVE::${SLANG_BINARY_ARCHIVE}"
+ echo "SLANG_BINARY_ARCHIVE=${SLANG_BINARY_ARCHIVE}" >> $GITHUB_OUTPUT
- name: UploadBinary
uses: softprops/action-gh-release@v1
with:
diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml
index 1561c0785..6dce54dcc 100644
--- a/.github/workflows/release-windows.yml
+++ b/.github/workflows/release-windows.yml
@@ -61,7 +61,7 @@ jobs:
$binArchive = "slang-$slangVersion-$slangDeployPlatform.zip"
echo "name=SLANG_BINARY_ARCHIVE::$binArchive"
- echo "::set-output name=SLANG_WIN32_BINARY_ARCHIVE::$binArchive"
+ echo "SLANG_WIN32_BINARY_ARCHIVE=$binArchive" >> $GITHUB_OUTPUT
7z a "$binArchive" slang.h
7z a "$binArchive" slang-com-helper.h
@@ -82,7 +82,7 @@ jobs:
7z a "$binArchive" docs\*.md
$srcArchive = "slang-$slangVersion-source.zip"
- echo "::set-output name=SLANG_SOURCE_ARCHIVE::$srcArchive"
+ echo "SLANG_SOURCE_ARCHIVE=$srcArchive" >> $GITHUB_OUTPUT
7z a "$srcArchive" slang.h
7z a "$srcArchive" slang-com-helper.h