Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ChachyDev authored Feb 5, 2022
1 parent 06dfbb3 commit 9691714
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Build and test
name: Publish project

on: [pull_request, push]
on: [push, workflow_dispatch]
jobs:
build_test_jdk17:
publish_jdk17:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '16'
java-version: '17'
distribution: 'adopt'
- uses: actions/cache@v2
with:
Expand All @@ -23,4 +23,4 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :build
run: ./gradlew :build publish

0 comments on commit 9691714

Please sign in to comment.