Fix ShopBenefitAddEvent not showing the cancel message (#2416) #5284
This file contains hidden or 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: Maven CI | |
| on: | |
| push: | |
| branches: | |
| - hikari | |
| - cleanup | |
| pull_request: | |
| branches: | |
| - hikari | |
| - cleanup | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: "21" | |
| distribution: temurin | |
| cache: maven | |
| - name: Build with Maven | |
| run: mvn -B clean verify -T 1.5C -P github --file pom.xml -pl !com.ghostchu.quickshop.compatibility:itemsadder | |
| - name: Collect PR artifacts | |
| if: github.event_name == 'pull_request' | |
| shell: bash | |
| run: | | |
| rm -rf pr-artifacts | |
| mkdir -p pr-artifacts | |
| find quickshop-bukkit/target -type f -name "QuickShop-Hikari-*.jar" \ | |
| ! -name "*-sources.jar" \ | |
| ! -name "*-javadoc.jar" \ | |
| -exec cp {} pr-artifacts/ \; | |
| find . -type f -path "*/target/Compat*.jar" \ | |
| ! -name "*-sources.jar" \ | |
| ! -name "*-javadoc.jar" \ | |
| -exec cp {} pr-artifacts/ \; | |
| find . -type f -path "*/target/Addon*.jar" \ | |
| ! -name "*-sources.jar" \ | |
| ! -name "*-javadoc.jar" \ | |
| -exec cp {} pr-artifacts/ \; | |
| ls -la pr-artifacts | |
| - name: Upload PR artifacts | |
| if: github.event_name == 'pull_request' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: quickshop-pr-${{ github.event.pull_request.number }} | |
| path: pr-artifacts/*.jar | |
| retention-days: 14 | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v7 | |
| if: success() && github.event_name != 'pull_request' | |
| with: | |
| name: quickshop-ci-artifacts | |
| path: | | |
| quickshop-bukkit/target/QuickShop-Hikari-*.jar | |
| **/target/Compat*.jar | |
| **/target/Addon*.jar |