mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge branch 'master' into AI_ATTACK_TIMEOUT
This commit is contained in:
13
.github/workflows/snapshots-android.yml
vendored
13
.github/workflows/snapshots-android.yml
vendored
@@ -8,11 +8,11 @@ on:
|
||||
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
|
||||
required: false
|
||||
default: false
|
||||
upload_package:
|
||||
type: boolean
|
||||
description: 'Upload the completed Android package'
|
||||
required: false
|
||||
default: true
|
||||
#upload_package:
|
||||
# type: boolean
|
||||
# description: 'Upload the completed Android package'
|
||||
# required: false
|
||||
# default: true
|
||||
schedule:
|
||||
# * is a special character in YAML so you have to quote this string
|
||||
- cron: '00 19 * * *'
|
||||
@@ -93,6 +93,7 @@ jobs:
|
||||
mkdir upload
|
||||
mv /home/runner/work/forge/forge/forge-gui-android/target/*-signed-aligned.apk upload/
|
||||
mv /home/runner/work/forge/forge/forge-gui-android/target/assets.zip upload/
|
||||
mv /home/runner/work/forge/forge/forge-gui-android/target/classes/assets/version.txt upload/
|
||||
cd upload
|
||||
ls
|
||||
env:
|
||||
@@ -100,7 +101,7 @@ jobs:
|
||||
|
||||
- name: 📂 Sync files
|
||||
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
|
||||
if: ${{ inputs.upload_package }}
|
||||
#if: ${{ inputs.upload_package }}
|
||||
with:
|
||||
server: ftp.cardforge.org
|
||||
username: ${{ secrets.FTP_USERNAME }}
|
||||
|
||||
@@ -56,8 +56,9 @@ public class InputQueue extends Observable {
|
||||
|
||||
if (topMostInput != inp) {
|
||||
System.out.println("Cannot remove input " + inp.getClass().getSimpleName() + " because it's not on top of stack. Stack = " + inputStack );
|
||||
} else {
|
||||
inputStack.pop();
|
||||
} else if (topMostInput != null) {
|
||||
// if topMostInput is null then it means the inputstack is already empty, why this is called twice?
|
||||
inputStack.pop();
|
||||
}
|
||||
updateObservers();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user