refactor: variable registry refactor #28
Workflow file for this run
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: Publish | |
permissions: | |
contents: write | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
create-release: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
- name: Checkout cppdap | |
uses: actions/checkout@v4 | |
with: | |
repository: google/cppdap | |
path: cppdap | |
- name: init cppdap submodules | |
working-directory: ./cppdap | |
run: git submodule update --init | |
- name: Checkout luau | |
uses: actions/checkout@v4 | |
with: | |
repository: luau-lang/luau | |
path: luau | |
ref: 53e6e4b8f0b74e8770c41ff9bf7165ecfa9da1e2 | |
- name: install compiler | |
run: | | |
choco install ninja | |
choco install llvm | |
- name: configure | |
run: cmake -DCPP_DAP_ROOT=${{ github.workspace }}/cppdap -DLUAU_ROOT=${{ github.workspace }}/luau . --preset publish-configure | |
- name: build | |
run: cmake --build --preset publish-build | |
- name: pack | |
run: 7z a luaud.zip ${{ github.workspace }}\build\luaud\luaud.exe | |
- uses: softprops/action-gh-release@v2 | |
with: | |
files: luaud.zip |