From 9cbbc0a823f15bafafc1f42711226e6341ad1baa Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 7 May 2024 18:58:53 -0500 Subject: [PATCH] Try workflow command set-output for artifact --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93077ff..5a03b38 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,8 @@ jobs: id: get_version run: | go install github.com/sibprogrammer/xq@latest - xq ./About/About.xml -x "/ModMetaData/modVersion" + VERSION=$(xq ./About/About.xml -x "/ModMetaData/modVersion") + echo "::set-output name=result::$VERSION" - name: Move files run: |