diff --git a/.github/workflows/tauri-release.yml b/.github/workflows/tauri-release.yml index 72384403a..745a1b9ab 100644 --- a/.github/workflows/tauri-release.yml +++ b/.github/workflows/tauri-release.yml @@ -20,7 +20,7 @@ jobs: node-version: 14 - name: Get the version id: get_version - run: echo ::set-output name=VERSION::${CI_REF_NAME}_${CI_SHA_SHORT} + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}_${GITHUB_SHA} shell: bash - name: install Rust stable uses: actions-rs/toolchain@v1 @@ -39,12 +39,12 @@ jobs: # If using the Vue CLI plugin, tauri:build will be run automatically by tauri-action # and you can remove `&& yarn build` from this command run: npm install --no-optional && npm run desktop-release - - uses: tauri-apps/tauri-action@v0 + - uses: loloof64/tauri-action@marketplace_2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tagName: app-v${steps.get_version.outputs.VERSION} - releaseName: "App v${steps.get_version.outputs.VERSION}" + tagName: app-v${{ steps.get_version.outputs.VERSION }} + releaseName: App v${{ steps.get_version.outputs.VERSION }} body: "See the assets to download this version and install." draft: true prerelease: false \ No newline at end of file