mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-03-25 23:16:30 +00:00
[OPB-xxx] adding creation of release to release job
removing old release job
This commit is contained in:
6
.github/workflows/release_manual.yaml
vendored
6
.github/workflows/release_manual.yaml
vendored
@@ -18,6 +18,12 @@ jobs:
|
||||
- name: Load current version
|
||||
id: version
|
||||
run: echo "version=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec | cut -d- -f1)" >> $GITHUB_ENV
|
||||
- name: Create a Release
|
||||
uses: elgohr/Github-Release-Action@v5
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
title: Release of version ${{ env.version }}
|
||||
- name: Release maven packages
|
||||
uses: qcastel/github-actions-maven-release@v1.12.41
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user