We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66ce68d commit 5996305Copy full SHA for 5996305
PacketWrapper/.github/workflows/deploy.yml
@@ -0,0 +1,35 @@
1
+name: Deploy
2
+
3
+on: [ push, workflow_dispatch ]
4
5
+env:
6
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7
8
+jobs:
9
+ build:
10
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v2
15
16
+ - name: Set up JDK 1.8
17
+ uses: actions/setup-java@v1
18
+ with:
19
+ java-version: 1.8
20
21
+ - name: Cache Maven packages
22
+ uses: actions/cache@v2
23
24
+ path: ~/.m2
25
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26
+ restore-keys: ${{ runner.os }}-m2
27
28
+ - name: Deploy
29
+ run: mvn -f PacketWrapper/pom.xml verify
30
31
+ - name: Upload artifacts
32
+ uses: actions/upload-artifact@v2
33
34
+ name: plugin
35
+ path: PacketWrapper/target/PacketWrapper.jar
0 commit comments