Skip to content

Commit d7fef56

Browse files
committed
try with release in same job as build
1 parent e9304bd commit d7fef56

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
java-version: 1.8
1616
- name: Build with Maven
1717
run: mvn -B package --file pom.xml
18-
steps:
19-
- name: Release
20-
uses: fnkr/github-action-ghr@v1
21-
if: startsWith(github.ref, 'refs/tags/')
22-
env:
23-
GHR_PATH: target/lib/
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
- name: Release
19+
uses: fnkr/github-action-ghr@v1
20+
if: startsWith(github.ref, 'refs/tags/')
21+
env:
22+
GHR_PATH: target/lib/
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)