forked from FN-FAL113/SfChunkInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci skip] Merge pull request #9 from FN-FAL113/main
[pull] main from FN-FAL113:main
- Loading branch information
Showing
2 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Deploy to maven builds repo | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: builds repo workflow dispatch | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.TOKEN }} | ||
script: | | ||
await github.rest.actions.createWorkflowDispatch({ | ||
owner: "FN-FAL113", | ||
repo: "MavenBuilds", | ||
workflow_id: 'deploy.yml', | ||
ref: 'main', | ||
}) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
name: Java CI | ||
name: Build with maven | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
- main | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2.3.3 | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2.3.3 | ||
|
||
- name: Set up JDK 16 | ||
uses: actions/setup-java@v1.4.3 | ||
with: | ||
java-version: 16 | ||
- name: Build with Maven | ||
|
||
- name: Maven Build | ||
run: mvn package --file pom.xml |