We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf82c18 commit fb154ceCopy full SHA for fb154ce
1 file changed
.github/workflows/pcgcli-release.yml
@@ -0,0 +1,36 @@
1
+name: Partitioned Consumer Groups CLI Release
2
+
3
+on:
4
+ push:
5
+ tags: [ 'pcgcli/*' ]
6
7
+jobs:
8
+ release:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: write
12
+ defaults:
13
+ run:
14
+ working-directory: ./pcgroups
15
+ steps:
16
+ - name: Set up JDK
17
+ uses: actions/setup-java@v5
18
+ with:
19
+ java-version: '21'
20
+ distribution: 'temurin'
21
22
+ - name: Check out code
23
+ uses: actions/checkout@v4
24
25
+ - name: Build distribution
26
+ run: chmod +x gradlew && ./gradlew :pcgroups-cli:clean :pcgroups-cli:dist
27
28
+ - name: Upload release assets
29
+ env:
30
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
+ run: |
32
+ CLI_BUILD="../pcgroups-cli/build"
33
+ gh release upload "${{ github.ref_name }}" \
34
+ "$CLI_BUILD/cg.jar" \
35
+ "$CLI_BUILD/cg.tar" \
36
+ --clobber
0 commit comments