Skip to content

Commit

Permalink
chore: test cargo update
Browse files Browse the repository at this point in the history
  • Loading branch information
negar-abbasi committed Jul 22, 2024
1 parent 401f117 commit 772acad
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/actions/build-windows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ inputs:
runs:
using: 'composite'
steps:

- name: Get artifact name
id: set-env
run: |
Expand All @@ -37,6 +36,16 @@ runs:
sed -i "s/version = \"0.0.0\"/version = \"$version\"/g" "src-tauri/Cargo.toml"
shell: bash

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Update Cargo.lock
run: cargo update
shell: bash

# This step is just seting up the trusted signing action and it is expected to fail.
# It is needed later on sign the executable step.
- name: Initialize sign executable
Expand Down Expand Up @@ -80,9 +89,9 @@ runs:
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256

- name: Upload msi artifact
- name: Upload msi as artifact
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.package_name }}-${{ inputs.release-version }}-msi
path: ${{ github.workspace }}\src-tauri\target\release\bundle\msi\algokit-lora*.msi
if-no-files-found: error
name: ${{ steps.set-env.outputs.artifact_name }}
path: ${{ github.workspace }}\src-tauri\target\release\bundle\msi\algokit-lora*.msi

0 comments on commit 772acad

Please sign in to comment.