Skip to content

Commit e02c9da

Browse files
refactor: no need for cargo-edit
1 parent 683f68f commit e02c9da

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
if: matrix.platform == 'macos-latest'
128128
run: pip3 install codemagic-cli-tools --break-system-packages
129129

130-
- name: install apple certificates and provisioning profiles
130+
- name: install apple certificates and provisioning profiles (macos)
131131
if: matrix.platform == 'macos-latest'
132132
env:
133133
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}

.github/workflows/version-bump.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,11 @@ jobs:
6868
packageJson.version = process.env.NEW_VERSION
6969
fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2) + '\n')
7070
71-
- name: install cargo-edit
72-
run: cargo install cargo-edit
73-
7471
- name: update Cargo.toml and Cargo.lock
75-
working-directory: ./src-tauri
7672
run: |
77-
cargo set-version ${{ steps.version.outputs.new_version }}
73+
sed -i 's/^version = ".*"/version = "${{ steps.version.outputs.new_version }}"/' src-tauri/Cargo.toml
74+
cd src-tauri
75+
cargo update -p exam-env
7876
7977
- name: update tauri.conf.json
8078
uses: actions/github-script@v7

0 commit comments

Comments
 (0)