fix: update release macos actions

This commit is contained in:
tiny-craft 2023-08-08 10:26:46 +08:00
parent 9cd0886189
commit 7482257309
1 changed files with 2 additions and 2 deletions

View File

@ -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