Skip to content

Upload beta to Wesnoth addon server #1144

Upload beta to Wesnoth addon server

Upload beta to Wesnoth addon server #1144

Workflow file for this run

name: Upload beta to Wesnoth addon server
# Runs daily.
on:
schedule:
- cron: '0 0 * * *'
jobs:
upload-beta:
runs-on: ubuntu-20.04
env:
PBL_PASSPHRASE: ${{ secrets.PBL_PASSPHRASE }}
PBL_EMAIL: ${{ secrets.PBL_EMAIL }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetching up to the commit with the latest release is necessary to use "git describe"
- uses: actions/cache@v2
with:
path: wesnoth_tools
key: buildcache-feb2022
- name: Install dependencies
run: sudo apt-get install -y luarocks && sudo luarocks install luacheck
- name: RUN -- luacheck .
run: luacheck --no-color .
# If luacheck hasn't failed, then upload the addon.
- run: .github/scripts/upload_beta_addon.sh