File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release Artifacts to Maven
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ environment :
7
+ required : true
8
+ type : string
9
+
10
+ jobs :
11
+ release-maven-artifacts :
12
+ runs-on : ubuntu-latest
13
+ environment : ${{ inputs.environment }}
14
+ steps :
15
+ - uses : actions/checkout@v5
16
+ - uses : actions/setup-java@v4
17
+ with :
18
+ distribution : ' adopt'
19
+ java-version : 17
20
+ cache : ' sbt'
21
+ - uses : sbt/setup-sbt@v1
22
+ - name : Publish Artifacts to the Maven Repository
23
+ run : sbt scala3-bootstrapped-new/publish
Original file line number Diff line number Diff line change
1
+ name : Nightly Release of Scala 3
2
+ run-name : Nightly Release of Scala 3 (${{ github.sha }})
3
+
4
+ on :
5
+ workflow_dispatch :
6
+ schedule :
7
+ - cron : ' 0 3 * * *' # Every day at 3 AM
8
+
9
+ jobs :
10
+
11
+ # # TODO: Add the compilation pipeline here
12
+
13
+ # # TODO: Add the test pipeline here
14
+
15
+ release-maven-artifacts :
16
+ # TODO: Add a dependency to the test ad compilation pipeline before releasing
17
+ uses : ./.github/workflows/release-maven-artifacts.yml
18
+ with :
19
+ environment : release-nightly
You can’t perform that action at this time.
0 commit comments