From 990e43862fb7e3a09177e834555e001402ef0263 Mon Sep 17 00:00:00 2001 From: Bill Maxwell Date: Thu, 15 Feb 2024 17:16:36 -0700 Subject: [PATCH] tag issue addressed. Signed-off-by: Bill Maxwell --- .github/workflows/main-release.yaml | 2 +- .github/workflows/tag-release.yaml | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) 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, })