diff --git a/scripts/src/lib/template/templates/git/workflow.yml b/scripts/src/lib/template/templates/git/workflow.yml index 5adf394e..c91cdb26 100644 --- a/scripts/src/lib/template/templates/git/workflow.yml +++ b/scripts/src/lib/template/templates/git/workflow.yml @@ -15,9 +15,7 @@ jobs: 17, # Current Java LTS & minimum supported by Minecraft 21, # Current Java LTS ] - # and run on both Linux and Windows - os: [ubuntu-22.04, windows-2022] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-22.04 steps: - name: checkout repository uses: actions/checkout@v4 @@ -29,12 +27,11 @@ jobs: java-version: ${{ matrix.java }} distribution: 'microsoft' - name: make gradle wrapper executable - if: ${{ runner.os != 'Windows' }} run: chmod +x ./gradlew - name: build run: ./gradlew build - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS + if: ${{ matrix.java == '21' }} # Only upload artifacts built from latest java uses: actions/upload-artifact@v3 with: name: Artifacts