diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 74a2fa5..ff361f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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/') @@ -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