From 0b34c5a2f3e070b5a03b89c26ddacc24a9cc0dc3 Mon Sep 17 00:00:00 2001 From: KoalaBear Date: Tue, 15 Nov 2022 08:26:56 +0100 Subject: [PATCH] - Replace deprecated workflow set-ouput to $GITHUB_OUTPUT --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bdaeb14f..660336ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,7 +62,7 @@ jobs: - name: Get version info id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v} + run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT - name: Restore with dotnet run: dotnet restore src/OpenDirectoryDownloader @@ -115,7 +115,7 @@ jobs: - name: Get tag info id: tag_info - run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} + run: echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - name: Create release uses: softprops/action-gh-release@v1 env: @@ -151,7 +151,7 @@ jobs: steps: - name: Get version info id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v} + run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT - name: Download artifact uses: actions/download-artifact@v2 @@ -200,7 +200,7 @@ jobs: - name: Get tag info id: tag_info - run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} + run: echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - name: Combine images run: >