Skip to content

Commit

Permalink
Merge pull request #52 from canonical/fix/releaseJobs
Browse files Browse the repository at this point in the history
Migrated deprecated save-output to GH output
  • Loading branch information
UtkarshBhatthere authored Apr 19, 2024
2 parents ef5f3d3 + 9433c4e commit b393d8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
PKG_VER=$(cut -d' ' -f3 <<< $PKG_VER_STR)
CEPH_VER=$(cut -d'-' -f1 <<< $PKG_VER)
sed -i "/version/c\version: $CEPH_VER" rockcraft.yaml
echo "::set-output name=ceph_version::$CEPH_VER"
echo "{ceph_version}={$CEPH_VER}" >> $GITHUB_OUTPUT
- name: login to GitHub Container Registry
uses: docker/login-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_hotfix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
PKG_VER=$(cut -d' ' -f3 <<< $PKG_VER_STR)
CEPH_VER=$(cut -d'-' -f1 <<< $PKG_VER)
sed -i "/version:/c\version: $PR_NUM-$CEPH_VER" rockcraft.yaml
echo "::set-output name=ceph_version::$CEPH_VER"
echo "{ceph_version}={$CEPH_VER}" >> $GITHUB_OUTPUT
env:
PR_NUM: ${{ github.event.pull_request.number }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
PKG_VER=$(cut -d' ' -f3 <<< $PKG_VER_STR)
CEPH_VER=$(cut -d'-' -f1 <<< $PKG_VER)
sed -i "/version:/c\version: $CEPH_VER" rockcraft.yaml
echo "::set-output name=ceph_version::$CEPH_VER"
echo "::set-output name=pkg_version::$PKG_VER"
echo "{ceph_version}={$CEPH_VER}" >> $GITHUB_OUTPUT
echo "{pkg_version}={$PKG_VER}" >> $GITHUB_OUTPUT
- name: login to GitHub Container Registry
uses: docker/login-action@v1
Expand Down

0 comments on commit b393d8e

Please sign in to comment.