Skip to content

Commit a2affc2

Browse files
committed
Merge branch 'main' of https://github.com/HyperaOfficial/UpdateLib into main
2 parents 2daa506 + 181a57b commit a2affc2

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: Hypera
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: ['https://paypal.me/JoshuaLovesCode']

.github/workflows/publish-release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Publish Release
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up Java
11+
uses: actions/setup-java@v2
12+
with:
13+
java-version: '8'
14+
distribution: 'adopt'
15+
server-id: hypera-releases
16+
server-username: MAVEN_USERNAME
17+
server-password: MAVEN_PASSWORD
18+
- name: Publish package
19+
run: mvn --batch-mode deploy
20+
env:
21+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
22+
MAVEN_PASSWORD: ${{ secrets.MAVEN_TOKEN }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Publish Snapshot
2+
on:
3+
push:
4+
branches: [main]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up Java
11+
uses: actions/setup-java@v2
12+
with:
13+
java-version: '8'
14+
distribution: 'adopt'
15+
server-id: hypera-snapshots
16+
server-username: MAVEN_USERNAME
17+
server-password: MAVEN_PASSWORD
18+
- name: Publish package
19+
run: mvn --batch-mode deploy
20+
env:
21+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
22+
MAVEN_PASSWORD: ${{ secrets.MAVEN_TOKEN }}

0 commit comments

Comments
 (0)