Skip to content

Commit c936941

Browse files
committed
ci shit
1 parent ac8b6bc commit c936941

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed

.github/dependabot.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2
2+
updates:
3+
4+
- package-ecosystem: "maven"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
time: "12:00"
9+
timezone: "Europe/Berlin"
10+
assignees:
11+
- "Krazzzzymonkey"
12+
- "nothub"
13+
reviewers:
14+
- "Krazzzzymonkey"
15+
- "nothub"
16+
commit-message:
17+
prefix: "maven"
18+
include: "scope"
19+
20+
- package-ecosystem: "github-actions"
21+
directory: "/"
22+
schedule:
23+
interval: "daily"
24+
time: "12:00"
25+
timezone: "Europe/Berlin"
26+
assignees:
27+
- "Krazzzzymonkey"
28+
- "nothub"
29+
reviewers:
30+
- "Krazzzzymonkey"
31+
- "nothub"
32+
commit-message:
33+
prefix: "github-actions"
34+
include: "scope"

.github/workflows/release.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: 🧑‍🏭
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
13+
- name: Git
14+
uses: actions/checkout@v2
15+
16+
- name: Java
17+
uses: actions/[email protected]
18+
with:
19+
distribution: 'adopt'
20+
java-version: '8'
21+
22+
- name: Cache
23+
uses: actions/cache@v2
24+
with:
25+
path: ~/.m2
26+
key: '${{ runner.os }}-m2-${{ hashFiles(''**/pom.xml'') }}'
27+
restore-keys: '${{ runner.os }}-m2'
28+
29+
- name: Package
30+
run: mvn --batch-mode --show-version --errors package --file pom.xml
31+
32+
- name: Draft
33+
id: create_release
34+
uses: actions/create-release@v1
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
with:
38+
tag_name: ${{ github.ref }}
39+
release_name: ${{ github.ref }}
40+
body: 'automated release at commit ${{ github.sha }}'
41+
draft: false
42+
prerelease: false
43+
44+
- name: Release
45+
uses: csexton/release-asset-action@v2
46+
with:
47+
pattern: "target/QueuePlugin-*.jar"
48+
github-token: ${{ secrets.GITHUB_TOKEN }}
49+
release-url: ${{ steps.create_release.outputs.upload_url }}

0 commit comments

Comments
 (0)