chore: add notes in readme #3577
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: | |
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/ |