feat: update github action (#37)

This commit is contained in:
vran 2022-03-06 15:21:12 +08:00 committed by GitHub
parent 47d642152d
commit 39d9e4d487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created # This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#publishing-using-gradle # For more information see: https://github.com/actions/setup-java#publishing-using-gradle
name: docker image latest push name: docker latest
on: on:
push: push:

View File

@ -28,7 +28,6 @@ jobs:
- name: Application Jar Release - name: Application Jar Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with: with:
tag_name: ${{ github.event.inputs.tag }} tag_name: ${{ github.event.inputs.tag }}
files: api/build/libs/databasir.jar files: api/build/libs/databasir.jar