mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 12:27:16 +03:00
chore(workflow): order cargo publish and limit to 1 (#535)
We were running into race conditions where one package depended on another being published. Limit to only allow one publish at a time, and sort based on dependencies to (hopefully) eliminate the race condition.
This commit is contained in:
parent
2e67d2bc9f
commit
cc7c26b245
13
.github/workflows/release-cargo.yml
vendored
13
.github/workflows/release-cargo.yml
vendored
@ -13,15 +13,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
package:
|
||||
- name: tauri-bundler
|
||||
registryName: tauri-bundler
|
||||
path: cli/tauri-bundler
|
||||
publishPath: cli/tauri-bundler/target/package # not in workspace so target folder is nested
|
||||
- name: tauri-core
|
||||
registryName: tauri
|
||||
path: tauri
|
||||
- name: tauri-utils
|
||||
registryName: tauri-utils
|
||||
path: tauri-utils
|
||||
publishPath: target/package
|
||||
- name: tauri-api
|
||||
registryName: tauri-api
|
||||
@ -31,9 +32,9 @@ jobs:
|
||||
registryName: tauri-updater
|
||||
path: tauri-updater
|
||||
publishPath: target/package
|
||||
- name: tauri-utils
|
||||
registryName: tauri-utils
|
||||
path: tauri-utils
|
||||
- name: tauri-core
|
||||
registryName: tauri
|
||||
path: tauri
|
||||
publishPath: target/package
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
Loading…
Reference in New Issue
Block a user