Skip to content

allow bearer token to be null #6

allow bearer token to be null

allow bearer token to be null #6

Workflow file for this run

name: Publish project to Maven repository
# OR, publish per each commit
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 18
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish with Gradle
run: ./gradlew keyforge:shadowJar keyforge:publish
env:
MAVEN_NAME: ${{ secrets.MAVEN_NAME }} # token name
MAVEN_SECRET: ${{ secrets.MAVEN_SECRET }} # token secret (password)