aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release-latest.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release-latest.yml')
-rw-r--r--.github/workflows/release-latest.yml44
1 files changed, 0 insertions, 44 deletions
diff --git a/.github/workflows/release-latest.yml b/.github/workflows/release-latest.yml
deleted file mode 100644
index 5ecccc044f..0000000000
--- a/.github/workflows/release-latest.yml
+++ /dev/null
@@ -1,44 +0,0 @@
-# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
-# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
-
-name: Release latest build
-
-on:
- push:
- branches: [ master, main ]
-
-jobs:
- build-and-release:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
-
- - name: Set release version
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
-
- - name: Set up JDK 8
- uses: actions/setup-java@v2
- with:
- java-version: '8'
- distribution: 'adopt'
- cache: gradle
-
- - name: Grant execute permission for gradlew
- run: chmod +x gradlew
-
- - name: Setup the workspace
- run: ./gradlew setupCIWorkspace
-
- - name: Build the mod
- run: ./gradlew build
-
- - name: Update latest tag
- uses: "marvinpinto/action-automatic-releases@latest"
- with:
- repo_token: "${{ secrets.GITHUB_TOKEN }}"
- automatic_release_tag: "latest"
- prerelease: false
- title: "Latest build"
- files: build/libs/*.jar