Skip to content

Commit

Permalink
- Replace deprecated workflow set-ouput to $GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed Nov 15, 2022
1 parent 415b740 commit 0b34c5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: >
Expand Down

0 comments on commit 0b34c5a

Please sign in to comment.