Skip to content

Commit

Permalink
Make install dir absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
Fanda Vacek committed Dec 22, 2024
1 parent e6e7e92 commit ef5e411
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ name: Rust Build and Artifact Creation
on:
push:
branches:
- main
- win-build
- master
pull_request:
branches:
- main
- win-build
- master

jobs:
build:
Expand Down Expand Up @@ -36,13 +34,12 @@ jobs:

- name: Build and Install Binary
run: |
mkdir -p install_dir
cargo install --path ${{github.workspace}} --root install_dir --target ${{ matrix.target }}
ls -l install_dir/bin
mkdir -p ${{github.workspace}}/install
cargo install --path '${{github.workspace}}' --root '${{github.workspace}}/install' --target ${{ matrix.target }}
shell: bash

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ matrix.toolchain }}-binary
path: install_dir/bin
path: ${{github.workspace}}/install/bin

0 comments on commit ef5e411

Please sign in to comment.