1818 env :
1919 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2020 RIDDLC_PATH : riddlc/native/target/scala-3.4.3/riddlc
21- COURSIER_REPOSITORIES : central|maven:https://maven.pkg.github.com/ossuminc
2221 runs-on : ubuntu-latest
2322 steps :
2423 - name : Checkout Code
@@ -31,64 +30,10 @@ jobs:
3130 distribution : temurin
3231 cache : sbt
3332
34- - name : Configure SBT Credentials
35- run : |
36- mkdir -p ~/.sbt/1.0
37- echo "credentials += Credentials(
38- \"GitHub Package Registry\",
39- \"maven.pkg.github.com\",
40- \"$GITHUB_ACTOR\",
41- \"$GITHUB_TOKEN\"
42- )" > ~/.sbt/1.0/github.sbt
43-
4433 - name : Set Up SBT
4534 uses : sbt/setup-sbt@v1
4635
47- - name : Configure Coursier Credentials
48- run : |
49- mkdir -p ~/.config/coursier
50- echo "realm=GitHub Package Registry
51- host=maven.pkg.github.com
52- user=$GITHUB_ACTOR
53- password=$GITHUB_TOKEN" > ~/.config/coursier/credentials.properties
54-
55- # Also set specific environment variables for coursier
56- echo "COURSIER_CREDENTIALS=$HOME/.config/coursier/credentials.properties" >> $GITHUB_ENV
57-
58- - name : Configure Coursier
59- run : |
60- mkdir -p ~/.config/coursier
61- echo "
62- repositories:
63- - central
64- - maven:https://maven.pkg.github.com/ossuminc/sbt-ossuminc
65- " > ~/.config/coursier/repositories
66-
67- - name : Debug SBT Resolution
68- run : |
69- sbt -v -Dsbt.log.noformat=true \
70- -Dsbt.global.base=.sbt \
71- -Dsbt.boot.directory=.sbt/boot \
72- -Dsbt.ivy.home=.ivy2 \
73- -Dcoursier.verbose=true \
74- plugins
75-
76-
77- - name : Debug Package Resolution
78- env :
79- COURSIER_VERBOSE : true
80- SBT_VERBOSE : true
81- run : |
82- curl -v -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
83- "https://maven.pkg.github.com/ossuminc/sbt-ossuminc/com/ossuminc/sbt-ossuminc_2.12_1.0/0.20.3/sbt-ossuminc-0.20.3.pom"
84- sbt -Dsbt.log.level=debug \
85- -Dsbt.global.base=.sbt \
86- -Dsbt.boot.directory=.sbt/boot \
87- -Dsbt.ivy.home=.ivy2 \
88- "show resolvers"
89-
90-
91- - name : Check Clang Okayness
36+ - name : Check Clang Viability
9237 run : |
9338 echo CLANG: `which clang`
9439 echo LD64.LLD: `which ld64.lld`
@@ -104,20 +49,6 @@ jobs:
10449 - name : Coursier Caching
10550 uses : coursier/cache-action@v6
10651
107- - name : Test Package Registry Access With Curl
108- run : |
109- curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
110- -H "Accept: application/vnd.github+json" \
111- https://api.github.com/orgs/ossuminc/packages?package_type=maven
112-
113- - name : Configure Coursier
114- run : |
115- mkdir -p ~/.config/coursier
116- echo "credentials.githubusercontent.com.realm=GitHub Package Registry" >> ~/.config/coursier/credentials.properties
117- echo "credentials.githubusercontent.com.host=maven.pkg.github.com" >> ~/.config/coursier/credentials.properties
118- echo "credentials.githubusercontent.com.user=$GITHUB_ACTOR" >> ~/.config/coursier/credentials.properties
119- echo "credentials.githubusercontent.com.password=${{ secrets.GITHUB_TOKEN }}" >> ~/.config/coursier/credentials.properties
120-
12152 - name : Build And Test JVM Versions
12253 run : |
12354 sbt -v clean \
0 commit comments