.github/workflows/build.yml aktualisiert
Build & Release / build-and-release (push) Successful in 29s
Build & Release / build-and-release (push) Successful in 29s
This commit is contained in:
@@ -27,8 +27,15 @@ jobs:
|
|||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B clean package
|
run: mvn -B clean package
|
||||||
|
|
||||||
|
- name: Set release tag to current datetime
|
||||||
|
id: datetime
|
||||||
|
run: |
|
||||||
|
TAG_NAME="$(date -u '+%Y%m%d')"
|
||||||
|
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: https://git.oryfox.de/actions/gitea-release-action@v1
|
uses: https://git.oryfox.de/actions/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: target/inventory-tools.jar
|
files: target/inventory-tools.jar
|
||||||
token: ${{ secrets.REPOSITORY_TOKEN }}
|
token: ${{ secrets.REPOSITORY_TOKEN }}
|
||||||
|
tag_name: ${{ steps.datetime.outputs.TAG_NAME }}
|
||||||
Reference in New Issue
Block a user