Skip to content

chore: add miscellaneous stuff #3576

chore: add miscellaneous stuff

chore: add miscellaneous stuff #3576

Workflow file for this run

on:
pull_request:
push:
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
pip install -r requirements.txt
- run: |
mkdocs build
- uses: actions/upload-pages-artifact@v2
with:
path: site/
deploy-docs:
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
if: github.ref == 'refs/heads/develop' && github.event_name == 'push' # For development only
needs: build-docs
permissions:
id-token: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v2
build-liteloader:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: xmake-io/github-action-setup-xmake@v1
- run: |
xmake repo --update
- run: |
xmake config --arch=x64 --plat=windows --mode=release --verbose --yes
- run: |
xmake --warning --yes
- uses: actions/upload-artifact@v3
with:
name: liteloader-windows-x64-${{ github.sha }}
path: build/windows/x64/release/