Fix piston extension/retraction not being cancelled with redstone flag #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Validate gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup java 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: gradle | |
- name: Build plugin | |
run: ./gradlew build --no-daemon -PgithubUsername=${{ secrets.PUBLISH_USERNAME }} -PgithubPassword=${{ secrets.PUBLISH_PASSWORD }} | |
- name: Upload plugin jars | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CloudProtections-Artifacts | |
path: build/libs/CloudProtections-* | |
if-no-files-found: error | |
- name: Publish to package registry | |
run: ./gradlew publish --no-daemon -PgithubUsername=${{ secrets.PUBLISH_USERNAME }} -PgithubPassword=${{ secrets.PUBLISH_PASSWORD }} |