File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
7575 with :
7676 java-version : " 17"
77- distribution : " adopt "
77+ distribution : " temurin "
7878 server-id : github
7979 - name : Cache SonarCloud packages
8080 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
@@ -102,7 +102,7 @@ jobs:
102102 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
103103 with :
104104 java-version : " 17"
105- distribution : " adopt "
105+ distribution : " temurin "
106106 server-id : github
107107 - name : Build java SDK
108108 run : |
@@ -113,7 +113,7 @@ jobs:
113113
114114 - name : Check out and start up platform with deps/containers
115115 id : run-platform
116- uses : opentdf/platform/test/start-up-with-containers@main
116+ uses : opentdf/platform/test/start-up-with-containers@998929e5c66d41f928b90e6af7dbaa0a14302ca6 # watch-sh-fix
117117 with :
118118 platform-ref : main
119119
@@ -240,7 +240,7 @@ jobs:
240240 working-directory : cmdline
241241
242242 - name : Start additional kas
243- uses : opentdf/platform/test/start-additional-kas@main
243+ uses : opentdf/platform/test/start-additional-kas@998929e5c66d41f928b90e6af7dbaa0a14302ca6 # watch-sh-fix
244244 with :
245245 kas-port : 8282
246246 kas-name : beta
Original file line number Diff line number Diff line change 1+ name : Publish Dev Artifact
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ permissions :
8+ contents : write
9+
10+ jobs :
11+ publish-dev-artifact :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
16+ - name : Setup Buf
17+ uses : bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0
18+ with :
19+ github_token : ${{ secrets.GITHUB_TOKEN }}
20+
21+ - name : Cache Maven packages
22+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
23+ with :
24+ path : ~/.m2
25+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26+ restore-keys : ${{ runner.os }}-m2
27+
28+ - name : Set up JDK
29+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
30+ with :
31+ java-version : " 17"
32+ distribution : " temurin"
33+
34+ - name : Build cmdline
35+ run : mvn --batch-mode clean package -DskipTests
36+ env :
37+ BUF_INPUT_HTTPS_USERNAME : opentdf-bot
38+ BUF_INPUT_HTTPS_PASSWORD : ${{ secrets.PERSONAL_ACCESS_TOKEN_OPENTDF }}
39+
40+ - name : Publish dev release
41+ uses : softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
42+ with :
43+ tag_name : dev
44+ name : " dev (${{ github.sha }})"
45+ body : |
46+ Development build from main branch.
47+
48+ **Commit:** [`${{ github.sha }}`](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})
49+ prerelease : true
50+ files : cmdline/target/cmdline.jar
Original file line number Diff line number Diff line change 3535 if : github.ref == 'refs/heads/main'
3636 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
3737 with :
38- java-version : " 11 "
39- distribution : " adopt "
38+ java-version : " 17 "
39+ distribution : " temurin "
4040 # write settings.xml
4141 server-id : github-pkg
4242 server-username : GITHUB_ACTOR
5757 if : startsWith(github.ref, 'refs/tags/')
5858 uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
5959 with :
60- java-version : " 11 "
61- distribution : " adopt "
60+ java-version : " 17 "
61+ distribution : " temurin "
6262 # write settings.xml
6363 server-id : central
6464 server-username : MAVEN_USERNAME
You can’t perform that action at this time.
0 commit comments