Update Windows installer workflow

This commit is contained in:
JonnyWong16 2020-12-22 15:26:37 -08:00
parent 0b845294fb
commit 9106c068ac
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -41,6 +41,7 @@ jobs:
echo ::set-output name=VERSION::0.0.0 echo ::set-output name=VERSION::0.0.0
echo ::set-output name=RELEASE_VERSION::${GITHUB_SHA::7} echo ::set-output name=RELEASE_VERSION::${GITHUB_SHA::7}
fi fi
echo ${GITHUB_REF#refs/heads/} > branch.txt
echo $GITHUB_SHA > version.txt echo $GITHUB_SHA > version.txt
- name: Set Up Python - name: Set Up Python
@ -64,6 +65,11 @@ jobs:
run: | run: |
pyinstaller -y ./package/Tautulli-${{ matrix.os }}.spec pyinstaller -y ./package/Tautulli-${{ matrix.os }}.spec
- name: Move Windows Updater Files
if: matrix.os == 'windows'
run: |
MOVE /Y dist\updater\* dist\Tautulli
- name: Create Windows Installer - name: Create Windows Installer
uses: joncloud/makensis-action@v1.2 uses: joncloud/makensis-action@v1.2
if: matrix.os == 'windows' if: matrix.os == 'windows'