From 7482257309eb6ed2b48afdeff8fd5a46607acb52 Mon Sep 17 00:00:00 2001 From: tiny-craft <137850705+tiny-craft@users.noreply.github.com> Date: Tue, 8 Aug 2023 10:26:46 +0800 Subject: [PATCH] fix: update release macos actions --- .github/workflows/release-macos.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-macos.yaml b/.github/workflows/release-macos.yaml index 36fe56b..7a08567 100644 --- a/.github/workflows/release-macos.yaml +++ b/.github/workflows/release-macos.yaml @@ -61,7 +61,7 @@ jobs: run: | npm install -g npm npm install -g json - json -I -f wails.json -e "this.info.productVersion='${{ github.event.release.tag_name }}'" + json -I -f wails.json -e "this.info.productVersion='${{ steps.normalise_version.outputs.version }}'" cd frontend && npm install - name: Build wails app for macOS @@ -85,7 +85,7 @@ jobs: run: | curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/tiny-craft/tiny-rdm/releases" > /tmp/releases.json url=$(jq -r '.[0].upload_url' /tmp/releases.json) - echo "{url}={$url}" >> $GITHUB_OUTPUT + echo "{url}={$url}" >> GITHUB_OUTPUT - name: Upload artifact uses: actions/upload-release-asset@v1.0.2