Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sullrich84 committed Apr 18, 2021
1 parent f83d44d commit f0a41ec
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Build Release
on:
release:
types: [published]

env:
GITHUB_USERNAME: ${{ secrets.GH_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -17,12 +22,6 @@ jobs:

- name: Run Tests
run: ./gradlew test
env:
GITHUB_USERNAME: ${{ secrets.GH_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Publish Package
run: ./gradlew publish
env:
GITHUB_USERNAME: ${{ secrets.GH_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit f0a41ec

Please sign in to comment.