Skip to content

Make actions manually executable #52

Make actions manually executable

Make actions manually executable #52

Workflow file for this run

name: Build

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

`workflow-dispatch` is not a valid event name
on: [push, workflow-dispatch]
jobs:
build:
name: Build
uses: Kotatsu-RTM/.github/.github/workflows/rtmpack_build.yml@master
publish:
name: Publish artifacts to the Maven repository
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout codes
uses: actions/checkout@v3
- name: Setup JDK8
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 8
cache: gradle
# We're already validated gradle wrapper at build, so skip validation.
- name: Add permission to Gradle wrapper
run: chmod +x gradlew
- name: Publish
env:
NexusUsername: ${{ secrets.SIRO256_NEXUS_USER }}
NexusPassword: ${{ secrets.SIRO256_NEXUS_PASSWORD }}
SigningKeyId: ${{ secrets.SIRO256_MAVEN_SIGNING_KEY_ID }}
SigningKey: ${{ secrets.SIRO256_MAVEN_SIGNING_KEY }}
SigningKeyPassword: ${{ secrets.SIRO256_MAVEN_SIGNING_KEY_PASSWORD }}
run: ./gradlew publish