Bump com.google.guava:guava from 33.2.1-jre to 33.3.0-jre (#12842) #433
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package and Upload Game Installers | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'build.gradle' | |
- 'game-app/**' | |
- 'http-clients/**' | |
- 'lib/**' | |
- 'servers/*/client/**' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build: | |
runs-on: Ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# Fetch depth of 0 is needed so we checkout the full revision history | |
# The current revision count will be used as our build-number | |
fetch-depth: '0' | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Build Installers | |
run: ./game-app/run/package | |
env: | |
INSTALL4J_LICENSE: ${{ secrets.INSTALL4J_LICENSE }} | |
- name: set build version variables | |
run: | | |
BUILD_VERSION=$(game-app/run/.build/get-build-version) | |
echo "build_version=$BUILD_VERSION" | tee -a $GITHUB_ENV | |
echo "release_name=$(date +%Y-%B-%d) - $BUILD_VERSION" | tee -a $GITHUB_ENV | |
- name: Create Github Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: build/artifacts/* | |
tag: ${{ env.build_version }} | |
name: ${{ env.release_name }} | |
prerelease: true | |
commit: ${{ github.sha }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |