mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-14 08:25:16 +00:00
cd: nightly debug flag
This commit is contained in:
parent
caa340803f
commit
17ef50cdf5
29
.github/workflows/spotube-release-binary.yml
vendored
29
.github/workflows/spotube-release-binary.yml
vendored
@ -14,6 +14,11 @@ on:
|
||||
- stable
|
||||
- nightly
|
||||
default: nightly
|
||||
debug:
|
||||
description: Debug on failed when channel is nightly
|
||||
required: true
|
||||
type: boolean
|
||||
default: false
|
||||
dry_run:
|
||||
description: Dry run
|
||||
required: true
|
||||
@ -82,6 +87,12 @@ jobs:
|
||||
make choco
|
||||
mv dist/spotube.*.nupkg dist/Spotube-windows-x86_64.nupkg
|
||||
|
||||
- name: Debug With SSH When fails
|
||||
if: ${{ failure() && inputs.debug == 'true' && inputs.channel == 'nightly' }}
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@ -166,6 +177,12 @@ jobs:
|
||||
mv dist/**/spotube-*-linux.rpm dist/Spotube-linux-x86_64.rpm
|
||||
mv dist/**/spotube-*-linux.AppImage dist/Spotube-linux-x86_64.AppImage
|
||||
|
||||
- name: Debug With SSH When fails
|
||||
if: ${{ failure() && inputs.debug == 'true' && inputs.channel == 'nightly' }}
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Spotube-Release-Binaries
|
||||
@ -221,6 +238,12 @@ jobs:
|
||||
flutter build apk
|
||||
mv build/app/outputs/apk/release/app-release.apk build/Spotube-android-all-arch.apk
|
||||
|
||||
- name: Debug With SSH When fails
|
||||
if: ${{ failure() && inputs.debug == 'true' && inputs.channel == 'nightly' }}
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Spotube-Release-Binaries
|
||||
@ -274,6 +297,12 @@ jobs:
|
||||
mkdir -p build/${{ env.BUILD_VERSION }}
|
||||
appdmg appdmg.json build/Spotube-macos-x86_64.dmg
|
||||
|
||||
- name: Debug With SSH When fails
|
||||
if: ${{ failure() && inputs.debug == 'true' && inputs.channel == 'nightly' }}
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Spotube-Release-Binaries
|
||||
|
Loading…
Reference in New Issue
Block a user