Skip to content

Commit 981cb5c

Browse files
committed
build: Drop deprecated set-output commands, use latest version of softprops/action-gh-release explicitly
Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>
1 parent f01679d commit 981cb5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/flatpak.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
path: /tmp/out
5353
- name: Extract branch name
5454
id: extract_branch
55-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
55+
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
5656
- name: Publish pre-release to GitHub releases
5757
if: ${{ github.ref == 'refs/heads/main' }}
58-
uses: softprops/action-gh-release@v2
58+
uses: softprops/action-gh-release@v2.3.2
5959
with:
6060
tag_name: release-${{ steps.extract_branch.outputs.branch }}
6161
prerelease: true
@@ -64,7 +64,7 @@ jobs:
6464
/tmp/out/*/*
6565
- name: Publish release to GitHub releases
6666
if: startsWith(github.ref, 'refs/tags/v')
67-
uses: softprops/action-gh-release@v2
67+
uses: softprops/action-gh-release@v2.3.2
6868
with:
6969
prerelease: false
7070
overwrite_files: true

0 commit comments

Comments
 (0)