Skip to content

Commit

Permalink
Adjust move logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Bennett-Petzold committed Jan 2, 2024
1 parent 627cdb1 commit 94019df
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,20 @@ jobs:
- name: Build artifacts (cross-compile)
if: ${{ matrix.triple }}
run: |
cargo build -p ncsu_exam_calendar_cli --release --config 'name="${{ matrix.arch }}-${{ matrix.os }}-ncsu_examc"' --target ${{ matrix.triple }}
cargo build -p ncsu_exam_calendar_cli --release --target ${{ matrix.triple }}
mv target/${{ matrix.triple }}/release/ncsu_exam_calendar_cli target/release/${{ matrix.arch }}-${{ matrix.os }}-ncsu_examc
- name: Build artifacts (windows)
if: ${{ matrix.triple == null && matrix.os == 'windows' }}
run: |
cargo build -p ncsu_exam_calendar_cli --release --config 'name=\"${{ matrix.arch }}-${{ matrix.os }}-ncsu_examc\"'
cargo build -p ncsu_exam_calendar_cli --release
move target\release\ncsu_exam_calendar_cli target\release\${{ matrix.arch }}-${{ matrix.os }}-ncsu_examc
- name: Build artifacts
if: ${{ matrix.triple == null && matrix.os != 'windows' }}
run: |
cargo build -p ncsu_exam_calendar_cli --release --config 'name="${{ matrix.arch }}-${{ matrix.os }}-ncsu_examc"'
ls target
ls target/release
cargo build -p ncsu_exam_calendar_cli --release
mv target/release/ncsu_exam_calendar_cli target/release/${{ matrix.arch }}-${{ matrix.os }}-ncsu_examc
- uses: actions/upload-artifact@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace.package]
version = "0.1.45"
version = "0.1.46"
edition = "2021"
description = "A search tool for the NCSU exam calendar"

Expand Down

0 comments on commit 94019df

Please sign in to comment.