Skip to content

Commit

Permalink
Move version outside
Browse files Browse the repository at this point in the history
  • Loading branch information
ChienNM3 committed Jan 31, 2024
1 parent 87336fb commit 1f61a97
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- { name: 'TorPlayer', os: 'windows-latest' }

runs-on: ${{ matrix.build.os }}
env:
VERSION: 0.0.3
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -37,7 +39,7 @@ jobs:
- name: Build MacOS
if: runner.os == 'macOS'
run: |
./build/build-macos.sh 0.0.2
./build/build-macos.sh $VERSION
shell: bash
# ---- End MacOS --------

Expand All @@ -46,7 +48,7 @@ jobs:
- name: Build Windows
if: runner.os == 'Windows'
run: |
.\build\build-windows.bat 0.0.2
.\build\build-windows.bat $VERSION
shell: powershell
# ------ End Windows -------

Expand All @@ -61,7 +63,7 @@ jobs:
- name: Build Linux
if: runner.os == 'Linux'
run: |
./build/build-linux.sh 0.0.2
./build/build-linux.sh $VERSION
shell: bash
# ----- End Linux -------

Expand Down

0 comments on commit 1f61a97

Please sign in to comment.