Skip to content

Commit

Permalink
removed creating pre-release
Browse files Browse the repository at this point in the history
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
  • Loading branch information
georg-getz committed Jun 2, 2024
1 parent a5745d1 commit 482ba6e
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,9 @@ on:
- '**'

jobs:
create_pre_release:
name: Create pre-release

runs-on: ubuntu-latest

steps:
# The pre-release must be created only once, hence the split
# into multiple jobs with different `strategy`.
- name: Create a Github pre-release
id: create_pre_release
uses: elgohr/Github-Release-Action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: true

- name: Output `release_url` into a temporary file
run: echo "${{ steps.create_pre_release.outputs.upload_url }}" > release_url.txt

- name: Save the `release_url` temporary file
uses: actions/upload-artifact@v1
with:
name: release_url
path: release_url.txt

publish_jar:
name: Publish the JARs

needs: [create_pre_release]

strategy:
matrix:
# The job runs on 3 different OS.
Expand Down

0 comments on commit 482ba6e

Please sign in to comment.