Skip to content

Update workflows

Update workflows #88

Workflow file for this run

name: Build Pull Request
on: [ pull_request ]
env:
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- run: chmod +x gradlew
- name: Assemble
env:
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
run: ./gradlew :assemble -Dorg.gradle.jvmargs=--enable-preview -DREPO_PASSWORD=${{ secrets.REPO_PASSWORD }} -DREPO_USERNAME=${{ secrets.REPO_USERNAME }}
- name: Run Compiled Artifact
run: java --enable-preview -jar build/libs/cytosis.jar --ci-test