Skip to content

Commit

Permalink
try with release in same job as build
Browse files Browse the repository at this point in the history
  • Loading branch information
gartcimore committed Nov 16, 2019
1 parent e9304bd commit d7fef56
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml
steps:
- name: Release
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_PATH: target/lib/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_PATH: target/lib/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d7fef56

Please sign in to comment.