Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GiganticMinecraft/SpectatorTheater
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.3
Choose a base ref
...
head repository: GiganticMinecraft/SpectatorTheater
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
6 changes: 3 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ runs:
using: composite
steps:
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -10,13 +10,13 @@ jobs:
outputs:
new-ver: ${{ steps.output-ver.outputs.new-ver }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java & Gradle
uses: ./.github/actions/setup
- name: Bump version
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: releaseVersion --message="bump ver"
- name: Push changes
@@ -32,19 +32,19 @@ jobs:
needs:
- build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/output-latest-tag
id: latest-tag
- name: Checkout a latest tag
run: git checkout ${{ steps.latest-tag.outputs.latest-tag }}
- name: Download jar
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jar
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.latest-tag.outputs.latest-tag }}
files: ./*.jar
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/output-latest-tag
@@ -19,10 +19,10 @@ jobs:
- name: Setup Java & Gradle
uses: ./.github/actions/setup
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.3.3
uses: gradle/gradle-build-action@v3.5.0
with:
arguments: shadowJar
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: jar
path: build/libs/*.jar
Loading