diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6c438d7..68fad9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,16 +17,18 @@ jobs: - name: Checkout lua-vosk uses: actions/checkout@v3 with: + fetch-depth: 0 path: luavosk - name: Minor preparations run: sudo apt install gcc-aarch64-linux-gnu mingw-w64 - name: Get previous tag + working-directory: luavosk id: prevtag shell: bash run: | - echo "tag=$(GIT.EXE describe --abbrev=0 --tags ${{ github.ref_name }}^)" >> $GITHUB_OUTPUT + echo "::tag::$(git describe --abbrev=0 --tags ${{ github.ref_name }}^)" - name: Init LuaJIT working-directory: luavosk/misc @@ -58,8 +60,7 @@ jobs: - name: Create release uses: softprops/action-gh-release@v1 with: - prerelease: true - name: Pre-release ${{ github.ref_name }} + name: Release ${{ github.ref_name }} body: "**Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.prevtag.outputs.tag }}...${{ github.ref_name }}" files: | ./luavosk/misc/out/windows-x64.zip