Skip to content

Create workflow for publish #1

Create workflow for publish

Create workflow for publish #1

Workflow file for this run

name: Maven Package
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8 ]
steps:
- name: Checkout Repository
uses: actions/checkout@v4.1.7
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4.2.1
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
architecture: x64
- name: Apply Patches
run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
./acf patch
- uses: s4u/maven-settings-action@v3.0.0
with:
servers: |
[{
"id": "vouncherstudios-repository-snapshots",
"username": "${{ secrets.REPOSITORY_USERNAME }}",
"password": "${{ secrets.REPOSITORY_PASSWORD }}"
}]