Skip to content

Commit

Permalink
ci: fix broken release workflow due to crate relocation (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc authored Dec 27, 2024
1 parent 18787c7 commit 6722b45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/parse_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

CARGO_PKG_VERSION=$(yq -oy '.package.version' maa-cli/Cargo.toml)
CARGO_PKG_VERSION=$(yq -oy '.package.version' crates/maa-cli/Cargo.toml)
COMMIT_SHA=$(git rev-parse HEAD)
COMMIT_SHORT_SHA=$(git rev-parse --short HEAD)

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ jobs:
name: Sync to MAA Main Repository
if: ${{ fromJson(needs.meta.outputs.publish) && !fromJson(needs.meta.outputs.prerelease) }}
needs: [meta, release]
uses: ./.github/workflows/sync.yml
uses: ./.github/workflows/publish-sync.yml
with:
version: ${{ needs.meta.outputs.version }}
dryrun: false
Expand Down

0 comments on commit 6722b45

Please sign in to comment.