diff --git a/.github/workflows/build_status.yml b/.github/workflows/build_status.yml index efe59ae..f2c621a 100644 --- a/.github/workflows/build_status.yml +++ b/.github/workflows/build_status.yml @@ -2,8 +2,6 @@ name: Build Status on: push: - paths-ignore: - - '.github/**' branches: - '*' pull_request: @@ -12,9 +10,9 @@ jobs: build: runs-on: ubuntu-latest 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: distribution: 'microsoft' java-version: 17 @@ -23,9 +21,9 @@ jobs: run: chmod +x ./gradlew - name: Build with Gradle run: ./gradlew build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: ${{ github.event.repository.name }}-${{ github.sha }} + name: ${{ github.event.repository.name }}-Quilt-${{ github.sha }} path: | build/libs/*.jar !build/libs/*-dev.jar diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e3de06..32859d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,9 @@ jobs: publish: runs-on: ubuntu-latest 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: distribution: 'microsoft' java-version: 17 @@ -40,15 +40,18 @@ jobs: MAVEN_UPLOAD_URL: ${{ secrets.MAVEN_UPLOAD_URL }} MAVEN_UPLOAD_USERNAME: ${{ secrets.MAVEN_UPLOAD_USERNAME }} MAVEN_UPLOAD_PASSWORD: ${{ secrets.MAVEN_UPLOAD_PASSWORD }} - run: ./gradlew publish --no-daemon --max-workers 1 - - name: Publish - uses: Kir-Antipov/mc-publish@v3.3 + run: ./gradlew publish + - name: Publish (Quilt) + id: publish_quilt + uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 with: modrinth-token: ${{ secrets.MODRINTH_TOKEN }} curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} - github-token: ${{ github.token }} - + version: ${{ github.ref_name }}+Quilt version-type: beta + files: | + build/libs/!(*-@(dev|sources|javadoc|slim)).jar + build/libs/*-@(sources|javadoc).jar - name: Notify Discord uses: Up-Mods/action-discord-release@main with: