Skip to content

Commit

Permalink
chore: verify the changes in lock files and fix signing
Browse files Browse the repository at this point in the history
  • Loading branch information
negar-abbasi committed Jul 26, 2024
1 parent ec45986 commit fbba5e7
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/actions/build-windows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,17 @@ runs:
sed -i "s/\"version\": \"0.0.0\"/\"version\": \"$version\"/g" "src-tauri/tauri.conf.json"
sed -i "s/version = \"0.0.0\"/version = \"$version\"/g" "src-tauri/Cargo.toml"
sed -i "s/version = \"0.0.0\"/version = \"$version\"/g" "src-tauri/Cargo.lock"
echo "Updated tauri.conf.json:"
cat "src-tauri/tauri.conf.json"
echo "Updated Cargo.toml:"
cat "src-tauri/Cargo.toml"
echo "Updated Cargo.lock:"
cat "src-tauri/Cargo.lock"
shell: bash

- name: Upload modified files
uses: actions/upload-artifact@v2
with:
name: modified-files
path: |
src-tauri/tauri.conf.json
src-tauri/Cargo.toml
src-tauri/Cargo.lock
# - name: Set up Rust
# uses: actions-rs/toolchain@v1
# with:
Expand All @@ -57,7 +59,7 @@ runs:
# shell: bash

- name: Create a dummy JavaScript file
run: echo 'console.log("This is a dummy JavaScript file.");' > dummy.js
run: echo 'console.log("This is a dummy JavaScript file.");' > ./dummy/dummy.js
shell: bash

# This step is seting up the trusted signing action to sign a dummy file.
Expand All @@ -72,7 +74,7 @@ runs:
endpoint: https://weu.codesigning.azure.net/
trusted-signing-account-name: algokit-signing
certificate-profile-name: algokit
files-folder: ./
files-folder: ./dummy
files-folder-filter:
file-digest: SHA256
timestamp-rfc3161: http://timestamp.acs.microsoft.com
Expand Down

0 comments on commit fbba5e7

Please sign in to comment.