-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1.22 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Publishing
on:
release:
types:
- published
workflow_dispatch:
inputs:
machine:
description: 'Machine to run on'
required: true
default: 'macos-latest'
jobs:
publish:
env:
LIBCLANG_DISABLE_CRASH_RECOVERY: 1
strategy:
matrix:
os:
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- uses: eskatos/gradle-command-action@v1
with:
gradle-version: wrapper
arguments: publish '-Pbinom.repo.url=${{ secrets.BINOM_REPO_URL }}' '-Pbinom.repo.user=${{ secrets.BINOM_REPO_USER }}' '-Pbinom.repo.password=${{ secrets.BINOM_REPO_PASSWORD }}' '-Pbinom.gpg.key_id=${{ secrets.GPG_KEY_ID }}' '-Pbinom.gpg.password=${{ secrets.GPG_PASSWORD }}' '-Pbinom.gpg.private_key=${{ secrets.GPG_PRIVATE_KEY }}' '-Pbinom.central.username=${{ secrets.CENTRAL_USENAME }}' '-Pbinom.central.password=${{ secrets.CENTRAL_PASSWORD }}'