mirror of
https://github.com/Lucaslah/WeatherChanger.git
synced 2026-01-03 20:17:51 +00:00
1.21 Fabric (#8)
Prep for release of version 1.1.0 (MC 1.21 for Fabric only)
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -2,8 +2,7 @@ name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -11,11 +10,11 @@ jobs:
|
||||
env:
|
||||
CI_DEV_BUILD: true
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
- name: Setup build number
|
||||
run: echo "BUILD_NUMBER=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV
|
||||
@@ -26,7 +25,7 @@ jobs:
|
||||
with:
|
||||
arguments: build
|
||||
- name: Upload Build Results
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: weather-changer-build
|
||||
path: |
|
||||
|
||||
Reference in New Issue
Block a user