Skip to content

Commit

Permalink
experiment with naming parameters (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
martintc committed Dec 12, 2023
1 parent 6b8f1e8 commit 10601d6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/main2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ jobs:
- os_name: Windows-x86_64
os: windows-2022
target: x86_64-pc-windows-msvc
bin: comtrya
name: comtrya-x86_64-pc-winfows-msvc
bin: comtrya.exe
name: comtrya-x86_64-pc-windows-msvc
cross: false
cargo_command: cargo
skip_tests: false
Expand Down Expand Up @@ -126,17 +126,17 @@ jobs:
toolchain: stable
args: "--release"

# - name: Rename Binary
# if: matrix.job.target != 'x86_64-pc-windows-msvc'
# shell: bash
# run: |
# mv target/release/comtrya ${{ matrix.platform.target }}

# - name: Rename Binary.exe
# if: matrix.job.target == 'x86_64-pc-windows-msvc'
# shell: bash
# run: |
# mv target/release/comtrya.exe ${{ matrix.platform.target }}.exe
- name: Rename Binary
if: matrix.job.target != 'x86_64-pc-windows-msvc'
shell: bash
run: |
mv target/release/$${{ matrix.platform.bin }} ${{ matrix.platform.name}}
- name: Rename Binary.exe
if: matrix.job.target == 'x86_64-pc-windows-msvc'
shell: bash
run: |
mv target/release/$${{ matrix.platform.bin }} ${{ matrix.platform.name }}.exe
- name: Upload Artifact
if: matrix.platform.target != 'x86_64-pc-windows-msvc'
Expand All @@ -149,7 +149,7 @@ jobs:
generate_release_notes: false
fail_on_unmatched_files: true
files: |
comtrya-${{ matrix.platform.target }}
$${{ matrix.platform.name }}
- name: Upload Artifact.exe
if: matrix.platform.target == 'x86_64-pc-windows-msvc'
Expand Down

0 comments on commit 10601d6

Please sign in to comment.