Skip to content

Commit

Permalink
Correct more the environment variables for main2.yaml (#372)
Browse files Browse the repository at this point in the history
* missed some more

* modify name
  • Loading branch information
martintc committed Dec 12, 2023
1 parent f47bed8 commit 0635be9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,19 @@ jobs:
args: "--release"

- name: Rename Binary
if: matrix.job.target != 'x86_64-pc-windows-msvc'
if: matrix.platform.target != 'x86_64-pc-windows-msvc'
shell: bash
run: |
mv target/release/comtrya ${{ matrix.platform.target }}
mv target/release/comtrya ${{ matrix.platform.name }}
- name: Rename Binary.exe
if: matrix.job.target == 'x86_64-pc-windows-msvc'
if: matrix.platform.target == 'x86_64-pc-windows-msvc'
shell: bash
run: |
mv target/release/comtrya.exe ${{ matrix.platform.target }}.exe
mv target/release/comtrya.exe ${{ matrix.platform.name }}.exe
- name: Upload Artifact
if: matrix.job.target != 'x86_64-pc-windows-msvc'
if: matrix.platform.target != 'x86_64-pc-windows-msvc'
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -152,7 +152,7 @@ jobs:
comtrya-${{ matrix.platform.target }}
- name: Upload Artifact.exe
if: matrix.job.target == 'x86_64-pc-windows-msvc'
if: matrix.platform.target == 'x86_64-pc-windows-msvc'
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0635be9

Please sign in to comment.