Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
wolpi committed Jul 30, 2023
1 parent 90f7951 commit c74bed1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Output event
env:
EVENT: ${{ github.event_name }}
run: echo "github.event_name: $EVENT."
- name: Publish package
run: echo "github.event_name: ${{ github.event_name }}."
if: ${{ github.event_name == 'push' }}
uses: gradle/gradle-build-action@v2
with:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c74bed1

Please sign in to comment.