Skip to content

Commit

Permalink
ci: fix executable artifact path
Browse files Browse the repository at this point in the history
  • Loading branch information
roccodev committed Mar 30, 2024
1 parent d3e8e31 commit 06586ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: bdat-toolset-${{ matrix.builds.file }}
path: toolset/target/${{ matrix.builds.target }}/release/${{ matrix.builds.out }}
path: target/${{ matrix.builds.target }}/release/${{ matrix.builds.out }}

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ jobs:
- name: Build
run: cd toolset && cargo build --release --target ${{ matrix.builds.target }}
- name: Rename files
working-directory: toolset/target/${{ matrix.builds.target }}/release
working-directory: target/${{ matrix.builds.target }}/release
run: mv ${{ matrix.builds.out }} bdat-toolset-${{ matrix.builds.file }}
- name: Upload executable to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: toolset/target/${{ matrix.builds.target }}/release
working-directory: target/${{ matrix.builds.target }}/release
run: gh release upload ${{ inputs.tag || github.ref_name }} bdat-toolset-${{ matrix.builds.file }} --clobber


Expand Down

0 comments on commit 06586ba

Please sign in to comment.