Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungerMax committed Dec 24, 2021
1 parent d123aeb commit 3d5223b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish

on:
release:
types:
- published

jobs:
publish:
runs-on: ubuntu-latest
container:
image: gradle:jdk8
steps:
- uses: actions/checkout@v2
name: Check out

- run: gradle publishMavenPublicationToPocolifoRepository
name: Publish
env:
RELEASE_VERSION: ${{ github.ref_name }}
REPO_URL: ${{ secrets.REPO_URL }}
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ publishing {
name = 'JAR Remapper Extensions'
description = 'Extra features for JAR Remapper'
artifactId = 'extensions'
version = System.getenv("RELEASE_VERSION")

licenses {
license {
Expand Down

0 comments on commit 3d5223b

Please sign in to comment.