Skip to content

Commit

Permalink
chore: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sssooonnnggg committed Nov 21, 2024
1 parent 4a5cea8 commit 72446f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
run: echo "root=${{GITHUB_WORKSPACE}}" >> $GITHUB_OUTPUT
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -28,7 +29,7 @@ jobs:
repository: luau-lang/luau
path: luau
- name: configure
run: cmake -DCPP_DAP_ROOT=${{GITHUB_WORKSPACE}}/cppdap -DLUAU_ROOT=${{GITHUB_WORKSPACE}}/luau -S . -B build --preset publish-configure
run: cmake -DCPP_DAP_ROOT=${{ steps.vars.outputs.root }}/cppdap -DLUAU_ROOT=${{ steps.vars.outputs.root }}/luau -S . -B build --preset publish-configure
- name: build
run: cmake --build --preset publish-build
- name: pack
Expand Down

0 comments on commit 72446f6

Please sign in to comment.