Skip to content

Commit

Permalink
set-output is deprecated (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
uchks authored Apr 17, 2023
1 parent fadb1db commit 95df7c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Check cache
id: verify-cache
run: |
echo "::set-output name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/theos/sdks | head -n 1 | cut -f 1`"
echo "heads=`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/theos/sdks | head -n 1 | cut -f 1`" >> $GITHUB_OUTPUT
- name: Use cache
uses: actions/cache@v2
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Retrieve version
id: version
run: echo "::set-output name=__ENMITY_VERSION::$(cat control | grep -E 'Version:(.*)' | awk '{ print $2 }')"
run: echo "__ENMITY_VERSION=$(cat control | grep -E 'Version:(.*)' | awk '{ print $2 }')" >> $GITHUB_OUTPUT

- name: Build deb
run: |
Expand Down Expand Up @@ -96,4 +96,4 @@ jobs:
prerelease: false
automatic_release_tag: v${{ steps.version.outputs.__ENMITY_VERSION }}
title: "Enmity v${{ steps.version.outputs.__ENMITY_VERSION }}"
files: out/*
files: out/*

0 comments on commit 95df7c6

Please sign in to comment.