Skip to content

Commit

Permalink
Fix Build (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
smashedr authored Jun 12, 2024
1 parent 6cdb307 commit 1d06fa0
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ jobs:
- name: "Write Version"
if: ${{ github.event_name == 'release' }}
run: |
echo $env:GITHUB_REF_NAME > src\version.txt
Write-Output "GITHUB_REF_NAME: $env:GITHUB_REF_NAME"
Get-Content src/version.txt
$env:GITHUB_REF_NAME | Set-Content src\version.txt
Get-Content src/version.txt
- name: "Inno Setup"
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
Expand All @@ -53,8 +56,6 @@ jobs:

- name: "Debug"
run: |
echo GITHUB_REF_NAME: $env:GITHUB_REF_NAME
cat src/version.txt
ls -R
- name: "Upload to Actions"
Expand Down Expand Up @@ -104,7 +105,10 @@ jobs:
- name: "Write Version"
if: ${{ github.event_name == 'release' }}
run: |
echo $GITHUB_REF_NAME > src\version.txt
echo GITHUB_REF_NAME: "$GITHUB_REF_NAME"
cat src/version.txt
echo "$GITHUB_REF_NAME" > src/version.txt
cat src/version.txt
- name: "Debian Package"
run: |
Expand All @@ -113,8 +117,6 @@ jobs:
- name: "Debug"
run: |
echo GITHUB_REF_NAME: $GITHUB_REF_NAME
cat src/version.txt
ls -R
- name: "Upload to Actions"
Expand Down Expand Up @@ -164,7 +166,10 @@ jobs:
- name: "Write Version"
if: ${{ github.event_name == 'release' }}
run: |
echo $GITHUB_REF_NAME > src\version.txt
echo GITHUB_REF_NAME: "$GITHUB_REF_NAME"
cat src/version.txt
echo "$GITHUB_REF_NAME" > src/version.txt
cat src/version.txt
- name: "PyInstaller"
run: |
Expand All @@ -175,8 +180,6 @@ jobs:
- name: "Debug"
run: |
echo GITHUB_REF_NAME: $GITHUB_REF_NAME
cat src/version.txt
ls -R
- name: "Upload to Actions"
Expand Down

0 comments on commit 1d06fa0

Please sign in to comment.