Skip to content

Commit

Permalink
Update deprecated set-output to environment files
Browse files Browse the repository at this point in the history
  • Loading branch information
juraj-hrivnak committed Feb 28, 2023
1 parent e73b898 commit 3ca1e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
echo "projectname=$projectname" >> $GITHUB_OUTPUT
version=`echo $(jq -r '.version' <<< "$manifestjson")`
echo "version=$version" >> $GITHUB_OUTPUT
echo "### $projectname-v$version :rocket:" >> $GITHUB_STEP_SUMMARY
- name: Rename changelog
run: mv CHANGELOG.md CHANGELOG-${{ steps.info.outputs.version }}.md
- name: Upload changelog
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
run: |
manifestjson=`cat pax/modpack/manifest.json`
projectname=`echo $(jq -r '.name' <<< "$manifestjson")`
echo "::set-output name=projectname::$projectname"
echo "projectname=$projectname" >> $GITHUB_OUTPUT
version=`echo $(jq -r '.minecraft.version' <<< "$manifestjson")`
echo "::set-output name=version::$version"
echo "version=$version" >> $GITHUB_OUTPUT
- name: Get tag
id: version
uses: "WyriHaximus/github-action-get-previous-tag@v1"
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
*beta*) rel_type="beta" ;;
*) rel_type="release" ;;
esac
echo "::set-output name=type::$rel_type"
echo "type=$rel_type" >> $GITHUB_OUTPUT
- name: Create release
uses: juraj-hrivnak/[email protected]
with:
Expand Down

0 comments on commit 3ca1e93

Please sign in to comment.