This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
Remember to update this... #262
Workflow file for this run
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 and Install | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Cache local Maven repository | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: maven-${{ hashFiles('**/scripts') }} | |
restore-keys: | | |
maven- | |
- name: Set up Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
check-latest: true | |
- name: Install spigot... (1.17 -> latest) | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
chmod +x ${GITHUB_WORKSPACE}/.github/scripts/buildtools.sh | |
${GITHUB_WORKSPACE}/.github/scripts/buildtools.sh | |
shell: bash | |
- name: Build AstralBooks with Maven | |
run: mvn --batch-mode deploy -s $GITHUB_WORKSPACE/settings.xml | |
env: | |
REPSY_PASS: ${{ secrets.REPSY_PASS }} |