diff --git a/.github/workflows/main-release.yaml b/.github/workflows/main-release.yaml index 5e4c4bf..98de488 100644 --- a/.github/workflows/main-release.yaml +++ b/.github/workflows/main-release.yaml @@ -55,7 +55,7 @@ jobs: - name: Rust Cache uses: swatinem/rust-cache@v2 with: - workspaces: "./src-tauri -> target" + workspaces: "./tauri/src-tauri -> target" - name: Set up Nodejs uses: actions/setup-node@v4 diff --git a/.github/workflows/tag-release.yaml b/.github/workflows/tag-release.yaml index db3c8af..3e46a20 100644 --- a/.github/workflows/tag-release.yaml +++ b/.github/workflows/tag-release.yaml @@ -51,7 +51,7 @@ jobs: - name: Rust Cache uses: swatinem/rust-cache@v2 with: - workspaces: "./src-tauri -> target" + workspaces: "./tauri/src-tauri -> target" - name: Set up Nodejs uses: actions/setup-node@v4 @@ -67,9 +67,7 @@ jobs: - name: get release version id: get_release_version - run: | - echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - echo "RELEASE=tag/${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Build the app uses: tauri-apps/tauri-action@v0 @@ -95,5 +93,5 @@ jobs: github.rest.repos.updateRelease({ owner: context.repo.owner, repo: context.repo.repo, - release_id: process.env.RELEASE, + release_id: process.env.TAG, })