File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Announce Latest Nightly Build to Discord
2+ env :
3+ GH_PKG_URL : " https://maven.pkg.github.com/${{ github.repository }}"
4+
5+ on :
6+ workflow_dispatch :
7+
8+ jobs :
9+ get-package-info :
10+ name : Latest Package Info
11+ runs-on : ubuntu-22.04
12+ outputs :
13+ version : ${{ steps.download-info.outputs.version }}
14+ steps :
15+ - name : Download Package Info
16+ id : download-info
17+ uses :
compactmods/[email protected] 18+ env :
19+ GQL_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+ with :
21+ owner : compactmods
22+ repo : compactmachines
23+ group : dev.compactmods.compactmachines.compactmachines-forge
24+ filter : " ^compactmachines-forge-(?:[\\ d\\ .]+)-nightly.jar$"
25+ outputFile : compactmachines-nightly.json
26+
27+ - name : Debug output
28+ run : |
29+ echo "Version: ${{ steps.download-info.outputs.version }}"
30+ cat compactmachines-nightly.json
31+
32+ announce :
33+ name : Discord Announcement
34+ uses : ./.github/workflows/_announce-latest-nightly.yml
35+ secrets : inherit
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ archivesBaseName = mod_id
2222group = " dev.compactmods.compactmachines"
2323version = envVersion
2424
25+ tasks. register(" fgInitCM" ) {
26+ doLast {
27+ println (" ForgeGradle+CM initialized" )
28+ }
29+ }
30+
2531tasks. register(" mcVersion" ) {
2632 doFirst {
2733 println (" version=$minecraft_version " )
You can’t perform that action at this time.
0 commit comments