downgrade to 1.20.1 and make profiles #2
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
on: | |
push: | |
branches: main | |
name: Test the server | |
jobs: | |
test: | |
env: | |
upload_to_mclogs: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout bc23 | |
uses: actions/checkout@v3 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Cache | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
key: mcman-build-${{ hashFiles('server.toml') }} | |
path: | | |
./server | |
~/.cache/mcman | |
restore-keys: | | |
mcman-build-${{ hashFiles('server.toml') }} | |
mcman-build- | |
mcman- | |
- name: Install mcman | |
run: | | |
wget https://github.com/ParadigmMC/mcman/releases/latest/download/mcman | |
sudo mv ./mcman /usr/bin/ | |
sudo chmod +x /usr/bin/mcman | |
- name: Test the server | |
run: | | |
mcman run --test |