Skip to content

Fix piston extension/retraction not being cancelled with redstone flag #2

Fix piston extension/retraction not being cancelled with redstone flag

Fix piston extension/retraction not being cancelled with redstone flag #2

Workflow file for this run

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 }}