summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml34
1 files changed, 0 insertions, 34 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index 05cf997c..00000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-# Workflow for creating a draft release once a new tag is pushed to GitHub
-name: Release
-
-on:
- push:
- tags: ['v*']
- workflow_dispatch:
-
-jobs:
- build:
- name: Build OpenDC
- runs-on: ubuntu-22.04
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- - name: Validate Gradle wrapper
- uses: gradle/actions/wrapper-validation@v3
- - name: Set up JDK
- uses: actions/setup-java@v4
- with:
- distribution: 'zulu'
- java-version: 21
- - name: Publish with Gradle
- uses: gradle/actions/setup-gradle@v3
- with:
- arguments: assembleDist
- - name: Create Release
- uses: softprops/action-gh-release@v2
- with:
- draft: true
- prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-m') }}
- files: "**/build/distributions/*"
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}