Skip to content

Commit 44c1234

Browse files
authored
update ubuntu & fix achigen
1 parent 5fb2caa commit 44c1234

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/gen_emu_config_old-build-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616

1717
jobs:
1818
build:
19-
runs-on: "ubuntu-20.04"
19+
runs-on: "ubuntu-22.04"
2020

2121
steps:
2222
- name: "Checkout branch"

generate_emu_config_old/stats_schema_achievement_gen/achievements_gen.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def generate_stats_achievements(
115115

116116
s['default']=f"{default_num}"
117117
s['global']=f"{global_num}"
118-
del s['min']
118+
if 'min' in s:
119+
del s['min']
119120
output_stats = copy.deepcopy(stats_out)
120121

121122
# print(output_ach)

0 commit comments

Comments
 (0)