|
25 | 25 |
|
26 | 26 | jobs: |
27 | 27 | build: |
28 | | - runs-on: ubuntu-latest |
| 28 | + runs-on: ubuntu-slim |
29 | 29 | strategy: |
30 | 30 | matrix: |
31 | 31 | buildType: [standard, lwjgl3] |
32 | 32 |
|
33 | 33 | steps: |
34 | 34 | - name: Checkout repository |
35 | | - uses: actions/checkout@v4 |
| 35 | + uses: actions/checkout@v5 |
36 | 36 | with: |
37 | 37 | ref: ${{ github.event.inputs.target_branch || github.ref }} |
38 | 38 | fetch-depth: 0 |
39 | 39 |
|
40 | | - - name: Cache dependencies |
41 | | - uses: actions/cache@v4 |
42 | | - with: |
43 | | - path: | |
44 | | - ~/.m2/repository |
45 | | - ~/.cache/pip |
46 | | - key: ${{ runner.os }}-deps-${{ matrix.buildType }}-${{ hashFiles('**/pom.xml') }} |
47 | | - |
48 | 40 | - name: Download Resource Packs zip |
49 | 41 | run: | |
50 | 42 | GITHUB_RELEASE=$(curl -s https://api.github.com/repos/GTModpackTeam/GTE2-Translations/releases) |
@@ -72,13 +64,13 @@ jobs: |
72 | 64 | - name: Adjust for LWJGL3 |
73 | 65 | if: matrix.buildType == 'lwjgl3' |
74 | 66 | run: | |
75 | | - python buildtools/gen-lwjgl3-manifest.py |
| 67 | + uv run --directory ./buildtools python ./gen-lwjgl3-manifest.py |
76 | 68 | cp -vf cmmc/manifest.json manifest.json |
77 | 69 |
|
78 | 70 | - name: Install Mods |
79 | 71 | env: |
80 | 72 | CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }} |
81 | | - run: python buildtools/mod-install.py |
| 73 | + run: uv run --directory ./buildtools python ./mod-install.py |
82 | 74 |
|
83 | 75 | - name: Clean up placeholder files |
84 | 76 | run: find . -name ".gitkeep" -delete |
@@ -119,27 +111,27 @@ jobs: |
119 | 111 | fi |
120 | 112 |
|
121 | 113 | - name: Upload Artifacts |
122 | | - uses: actions/upload-artifact@v4 |
| 114 | + uses: actions/upload-artifact@v5 |
123 | 115 | with: |
124 | 116 | name: ${{ matrix.buildType }}-artifacts |
125 | 117 | path: artifacts/ |
126 | 118 | retention-days: 1 |
127 | 119 |
|
128 | 120 | release: |
129 | 121 | needs: build |
130 | | - runs-on: ubuntu-latest |
| 122 | + runs-on: ubuntu-slim |
131 | 123 | permissions: |
132 | 124 | contents: write |
133 | 125 |
|
134 | 126 | steps: |
135 | 127 | - name: Checkout repository |
136 | | - uses: actions/checkout@v4 |
| 128 | + uses: actions/checkout@v5 |
137 | 129 | with: |
138 | 130 | ref: ${{ github.event.inputs.target_branch || github.ref }} |
139 | 131 | fetch-depth: 0 |
140 | 132 |
|
141 | 133 | - name: Download All Artifacts |
142 | | - uses: actions/download-artifact@v4 |
| 134 | + uses: actions/download-artifact@v6 |
143 | 135 | with: |
144 | 136 | path: downloads |
145 | 137 |
|
|
0 commit comments