This commit is contained in:
Pierre Jacquier
2023-11-08 07:32:08 -05:00
parent a3ca5c5443
commit 7838bf1298

View File

@ -102,9 +102,9 @@ jobs:
cache: 'yarn'
- name: Set nightly version
run: |
VERSION=$(date +'%-y.%-m.%-d') yarn bump-jsons
echo "$(jq --arg url 'https://dl.kittycad.io/releases/modeling-app/nightly/last_update.json' \
run: >
VERSION=$(date +'%-y.%-m.%-d') yarn bump-jsons &&
echo "$(jq --arg url 'https://dl.kittycad.io/releases/modeling-app/nightly/last_update.json'
'.tauri.updater.endpoints[]=$url' src-tauri/tauri.conf.json --indent 2)" > src-tauri/tauri.conf.json
- uses: actions/upload-artifact@v3