Skip to content

Minonr change in Cargo.toml #4

Minonr change in Cargo.toml

Minonr change in Cargo.toml #4

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
environment: Maven Central
permissions:
contents: read
packages: write
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Gradle Build
run: ./gradlew build
# - name: Gradle Publish
# run: ./gradlew publish
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
# MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
# MAVEN_SIGNING_KEY: ${{ secrets.MAVEN_SIGNING_KEY }}
# MAVEN_SIGNING_PASSWORD: ${{ secrets.MAVEN_SIGNING_PASSWORD }}
# - name: Gradle Bundle
# run: ./scripts/bundle.sh
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
# MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
# MAVEN_SIGNING_KEY: ${{ secrets.MAVEN_SIGNING_KEY }}
# MAVEN_SIGNING_PASSWORD: ${{ secrets.MAVEN_SIGNING_PASSWORD }}
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: bundle
path: ./.gradle/bundle/