Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Fix crash when players were null #25

Fix crash when players were null

Fix crash when players were null #25

Workflow file for this run

name: Publish Development Build
on: push
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: 17
distribution: adopt
- uses: actions/setup-python@v2
with:
python-version: 3.12.1
- name: Build
run: ./gradlew build -Pgithub_sha=${{ github.sha }}
- name: Run python script
run: |
pip3 install -r ./.github/workflows/requirements.txt
python3 ./.github/workflows/prerelease.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VIRUSTOTAL_API_KEY: ${{ secrets.VT_API_KEY }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
LAST_COMMIT: ${{ github.event.before }}
NEW_COMMIT: ${{ github.event.after }}