Skip to content

Commit

Permalink
Merge pull request #43 from FixedDev/dev
Browse files Browse the repository at this point in the history
Release 0.7.0
  • Loading branch information
FixedDev committed Jan 6, 2024
2 parents a497271 + e68ebeb commit 1e0cfc9
Show file tree
Hide file tree
Showing 256 changed files with 2,764 additions and 2,088 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ jobs:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn -B package --file pom.xml
47 changes: 23 additions & 24 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path

name: Maven Package
name: Maven Package to Unnamed Repo and github packages

on:
release:
types: released

release:
types: [created]
jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up Java for publishing to unnamed repo
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
server-id: unnamed-releases
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish to unnamed repo
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.USERNAME }}
MAVEN_PASSWORD: ${{ secrets.TOKEN }}

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1e0cfc9

Please sign in to comment.