summaryrefslogtreewikicommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2021-12-20 18:20:57 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2021-12-20 18:20:57 -0500
commita549cfb7a6a8451466cb656462d1c8c360e8c10a (patch)
treed2513dbf0e511d66aaa8361e330ccb8bdf086bea /.github
parentadded support for multiple default local files (diff)
downloadkenshinshideandseek-a549cfb7a6a8451466cb656462d1c8c360e8c10a.tar.gz
kenshinshideandseek-a549cfb7a6a8451466cb656462d1c8c360e8c10a.tar.bz2
kenshinshideandseek-a549cfb7a6a8451466cb656462d1c8c360e8c10a.zip
Add Workflows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/beta.yml30
-rw-r--r--.github/workflows/release.yml30
2 files changed, 60 insertions, 0 deletions
diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml
new file mode 100644
index 0000000..4220d3c
--- /dev/null
+++ b/.github/workflows/beta.yml
@@ -0,0 +1,30 @@
+name: Beta
+
+on:
+ release:
+ types: [ 1.3.1 ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
+
+ steps:
+ - name: Checkout branch
+ uses: actions/checkout@v2
+
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+
+ - 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 }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..39d7f56
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,30 @@
+name: Release
+
+on:
+ release:
+ types: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
+
+ steps:
+ - name: Checkout branch
+ uses: actions/checkout@v2
+
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+
+ - 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 }}