Skip to content

Commit

Permalink
ci: upgrade to release-please v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Mar 15, 2024
1 parent c059364 commit 76bea04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ jobs:
package-server-redis-released: ${{ steps.release.outputs['libs/server-sdk-redis-source--release_created'] }}
package-server-redis-tag: ${{ steps.release.outputs['libs/server-sdk-redis-source--tag_name'] }}
steps:
- uses: google-github-actions/release-please-action@v3
- uses: google-github-actions/release-please-action@v4
id: release
with:
command: manifest
token: ${{ secrets.GITHUB_TOKEN }}
default-branch: main

release-client:
strategy:
Expand All @@ -29,7 +27,7 @@ jobs:
os: [ ubuntu-latest, windows-2022, macos-12 ]
runs-on: ${{ matrix.os }}
needs: [ 'release-please' ]
if: ${{ needs.release-please.outputs.package-client-released }}
if: ${{ needs.release-please.outputs.package-client-released == 'true'}}
outputs:
hashes-linux: ${{ steps.release-client.outputs.hashes-linux }}
hashes-windows: ${{ steps.release-client.outputs.hashes-windows }}
Expand All @@ -53,7 +51,7 @@ jobs:
os: [ ubuntu-latest, windows-2022, macos-12 ]
runs-on: ${{ matrix.os }}
needs: [ 'release-please' ]
if: ${{ needs.release-please.outputs.package-server-released }}
if: ${{ needs.release-please.outputs.package-server-released == 'true'}}
outputs:
hashes-linux: ${{ steps.release-server.outputs.hashes-linux }}
hashes-windows: ${{ steps.release-server.outputs.hashes-windows }}
Expand All @@ -77,7 +75,7 @@ jobs:
os: [ ubuntu-latest, windows-2022, macos-12 ]
runs-on: ${{ matrix.os }}
needs: [ 'release-please' ]
if: ${{ needs.release-please.outputs.package-server-redis-released }}
if: ${{ needs.release-please.outputs.package-server-redis-released == 'true'}}
outputs:
hashes-linux: ${{ steps.release-server-redis.outputs.hashes-linux }}
hashes-windows: ${{ steps.release-server-redis.outputs.hashes-windows }}
Expand Down
12 changes: 3 additions & 9 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,8 @@
"CMakeLists.txt"
]
},
"libs/server-sent-events": {
"initial-version": "0.1.0"
},
"libs/common": {
"initial-version": "0.1.0"
},
"libs/internal": {
"initial-version": "0.1.0"
}
"libs/server-sent-events": {},
"libs/common": {},
"libs/internal": {}
}
}

0 comments on commit 76bea04

Please sign in to comment.