Skip to content

simple push

simple push #14

Workflow file for this run

#name: "Build Release"
#on: push
#jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - { uses: actions/checkout@v2, with: { fetch-depth: 0 } }
# - {
# name: "Set up JDK 17",
# uses: actions/setup-java@v2,
# with: { distribution: "temurin", java-version: "17" },
# }
# - {
# name: "Build with Gradle",
# id: build,
# run: "chmod +x gradlew && ./gradlew build",
# }
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
# with:
# tag_name: ${{ steps.build.outputs.version }}
# release_name: Release Darken Depths ${{ steps.build.outputs.version }}
#
# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: "build/libs/darkendepths-${{ steps.build.outputs.version }}.jar"
# asset_name: "darkendepths-${{ steps.build.outputs.version }}.jar"
# asset_content_type: application/java-archive
# - name: Upload to CurseForge
# uses: itsmeow/[email protected]
# with:
# file_path: "build/libs/darkendepths-${{ steps.build.outputs.version }}.jar"
# game_endpoint: "minecraft"
# relations: "fabric-api:requiredDependency,modmenu:optionalDependency"
# token: ${{ secrets.CF_API_TOKEN }}
# game_versions: "Minecraft 1.19:1.19.4,Java 17,Fabric,Client,Server"
# project_id: "873396"
# "release_type": "beta"