Skip to content

Commit

Permalink
Merge #3696 Switch workflows from set-output to $GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Nov 6, 2022
2 parents 3dfcf3e + d7428ae commit 57d65dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
VERSION=$(egrep '^\s*\#\#\s+v.*$' CHANGELOG.md | head -1 | sed -e 's/^\s*\#\#\s\+v//' -e 's/-.*$//')
if [[ $VERSION =~ [13579]$ ]]
then
echo '::set-output name=odd_build::true'
echo 'odd_build=true' >> $GITHUB_OUTPUT
fi
- name: Installing build dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
id: release_data
run: |
URL=$(wget -qO- https://api.github.com/repos/$GITHUB_REPOSITORY/releases | jq '.[0].upload_url' | tr -d \")
echo "::set-output name=upload_url::$URL"
echo "upload_url=$URL" >> $GITHUB_OUTPUT
VERSION=$(wget -qO- https://api.github.com/repos/$GITHUB_REPOSITORY/releases | jq '.[0].tag_name' | tr -d \"v)
echo "::set-output name=version::$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
RPM_VERSION=$(echo ${VERSION}.$(date +'%g%j') | sed -e 's/-/_/g')
echo "::set-output name=rpm_version::$RPM_VERSION"
echo "rpm_version=$RPM_VERSION" >> $GITHUB_OUTPUT
DEB_VERSION=${VERSION}.$(date +'%g%j')
echo "::set-output name=deb_version::$DEB_VERSION"
echo "deb_version=$DEB_VERSION" >> $GITHUB_OUTPUT
- name: Push deb to S3
# Send deb file to https://ksp-ckan.s3-us-west-2.amazonaws.com/
uses: jakejarvis/s3-sync-action@master
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ All notable changes to this project will be documented in this file.

## v1.31.3

### Internal

- [Tooling] Switch workflows from set-output to `$GITHUB_OUTPUT` (#3696 by: HebaruSan; reviewed: )

## v1.31.2 (Juno)

Expand Down

0 comments on commit 57d65dc

Please sign in to comment.