From 5be93745c0156001a1ecefbb17a9059ddbc3ed89 Mon Sep 17 00:00:00 2001 From: Alphagocc Date: Wed, 14 Feb 2024 12:35:42 +0800 Subject: [PATCH] chore(ci): remove old set-output usage --- .github/workflows/cpack-deb-debian.yml | 6 +++--- .github/workflows/cpack-deb-ubuntu.yml.bak | 6 +++--- .github/workflows/linux-static.yml | 4 ++-- .github/workflows/sourcefile.yml | 4 ++-- .github/workflows/windows-qt6.yml | 2 +- .github/workflows/windows.yml | 2 +- makespec/BUILDVERSION | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cpack-deb-debian.yml b/.github/workflows/cpack-deb-debian.yml index cb3392a..aabe591 100644 --- a/.github/workflows/cpack-deb-debian.yml +++ b/.github/workflows/cpack-deb-debian.yml @@ -29,7 +29,7 @@ jobs: - name: Get commit message id: get_message run: | - echo "::set-output name=message::$(git log --format=%B -n 1 ${{ github.event.after }})" + echo "message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_OUTPUT linux: strategy: fail-fast: false @@ -51,7 +51,7 @@ jobs: - name: Get the version id: get_version shell: bash - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT - name: Checking out sources uses: actions/checkout@v4 with: @@ -69,7 +69,7 @@ jobs: shell: bash id: get_package run: | - echo ::set-output name=NAME::$(basename build/LemonLime-*.deb) + echo "NAME=$(basename build/LemonLime-*.deb)" >> $GITHUB_OUTPUT - name: Upload artifact uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/cpack-deb-ubuntu.yml.bak b/.github/workflows/cpack-deb-ubuntu.yml.bak index 61819e0..459162b 100644 --- a/.github/workflows/cpack-deb-ubuntu.yml.bak +++ b/.github/workflows/cpack-deb-ubuntu.yml.bak @@ -29,7 +29,7 @@ jobs: - name: Get commit message id: get_message run: | - echo "::set-output name=message::$(git log --format=%B -n 1 ${{ github.event.after }})" + echo "message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_OUTPUT linux: strategy: fail-fast: false @@ -54,7 +54,7 @@ jobs: - name: Get the version id: get_version shell: bash - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT - name: Checking out sources uses: actions/checkout@v4 with: @@ -73,7 +73,7 @@ jobs: shell: bash id: get_package run: | - echo ::set-output name=NAME::$(basename build/LemonLime-*.deb) + echo "NAME=$(basename build/LemonLime-*.deb)" >> $GITHUB_OUTPUT - name: Upload artifact uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/linux-static.yml b/.github/workflows/linux-static.yml index 3af6390..3d72576 100644 --- a/.github/workflows/linux-static.yml +++ b/.github/workflows/linux-static.yml @@ -29,7 +29,7 @@ jobs: - name: Get commit message id: get_message run: | - echo "::set-output name=message::$(git log --format=%B -n 1 ${{ github.event.after }})" + echo "message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_OUTPUT linux: strategy: fail-fast: false @@ -45,7 +45,7 @@ jobs: - name: Get the version id: get_version shell: bash - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT - name: Checking out sources uses: actions/checkout@v4 with: diff --git a/.github/workflows/sourcefile.yml b/.github/workflows/sourcefile.yml index 597f137..6326296 100644 --- a/.github/workflows/sourcefile.yml +++ b/.github/workflows/sourcefile.yml @@ -16,7 +16,7 @@ jobs: - name: Get commit message id: get_message run: | - echo "::set-output name=message::$(git log --format=%B -n 1 ${{ github.event.after }})" + echo "message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_OUTPUT linux: needs: check_commit_msg name: All Source Files @@ -30,7 +30,7 @@ jobs: - name: Get the version id: get_version shell: bash - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT - name: Checking out sources uses: actions/checkout@v4 with: diff --git a/.github/workflows/windows-qt6.yml b/.github/workflows/windows-qt6.yml index ba26049..880db0e 100644 --- a/.github/workflows/windows-qt6.yml +++ b/.github/workflows/windows-qt6.yml @@ -38,7 +38,7 @@ jobs: - name: Get the version id: get_version shell: bash - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT - name: Checking out sources uses: actions/checkout@v4 with: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d0809d3..a0ef0e2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -39,7 +39,7 @@ jobs: - name: Get the version id: get_version shell: bash - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT - name: Checking out sources uses: actions/checkout@v4 with: diff --git a/makespec/BUILDVERSION b/makespec/BUILDVERSION index 63fe24a..f1aaa90 100644 --- a/makespec/BUILDVERSION +++ b/makespec/BUILDVERSION @@ -1 +1 @@ -253 +254