Skip to content

Commit

Permalink
Update build action
Browse files Browse the repository at this point in the history
  • Loading branch information
arenekosreal committed May 10, 2024
1 parent 9984e26 commit 374e9c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
run: "dotnet publish ./E5Renewer --output dist"
- name: "Get build environment info"
id: build-env-info
shell: bash
run: |
# machine=x86_64
python -c 'import platform;print("machine={}".format(platform.machine()))' | tee "$GITHUB_OUTPUT"
python -c 'import platform;print("machine={}".format(platform.machine()))' | tee -a "$GITHUB_OUTPUT"
# system=ubuntu
echo system=${{ matrix.os }} | cut -d - -f 1 | tee "$GITHUB_OUTPUT"
echo system=${{ matrix.os }} | cut -d - -f 1 | tee -a "$GITHUB_OUTPUT"
- name: "Create archive"
run: "7z a E5Renewer-${{ steps.build-env-info.outputs.system }}-${{ steps.build-env-info.outputs.machine }}.7z dist/*"
Expand Down

0 comments on commit 374e9c7

Please sign in to comment.