Skip to content

Commit f921ecd

Browse files
committed
Update actions to v3
1 parent a42d40a commit f921ecd

File tree

1 file changed

+6
-57
lines changed

1 file changed

+6
-57
lines changed

.github/workflows/windows_builds.yml

Lines changed: 6 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
runs-on: "windows-latest"
1616

1717
# Windows Editor - checkout with the plugin
18-
name: Editor (target=release_debug, tools=yes)
18+
name: Editor (target=release, tools=yes)
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222

2323
# Upload cache on completion and check it out now
2424
# Editing this is pretty dangerous for Windows since it can break and needs to be properly tested with a fresh cache.
2525
- name: Load .scons_cache directory
2626
id: windows-editor-cache
27-
uses: actions/cache@v2
27+
uses: actions/cache@v3
2828
with:
2929
path: /.scons_cache/
3030
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
@@ -36,7 +36,7 @@ jobs:
3636

3737
# Use python 3.x release (works cross platform; best to keep self contained in it's own step)
3838
- name: Set up Python 3.x
39-
uses: actions/setup-python@v2
39+
uses: actions/setup-python@v3
4040
with:
4141
# Semantic version range syntax or exact version of a Python version
4242
python-version: '3.x'
@@ -60,58 +60,7 @@ jobs:
6060
ls -l bin/
6161
6262
- name: Upload artifact windows-editor
63-
uses: actions/upload-artifact@v2
63+
uses: actions/upload-artifact@v3
6464
with:
6565
name: ${{ github.job }}
66-
path: bin/*
67-
retention-days: 14
68-
69-
windows-template:
70-
runs-on: "windows-latest"
71-
name: Template (target=release, tools=no)
72-
73-
steps:
74-
- uses: actions/checkout@v2
75-
76-
# Upload cache on completion and check it out now
77-
# Editing this is pretty dangerous for Windows since it can break and needs to be properly tested with a fresh cache.
78-
- name: Load .scons_cache directory
79-
id: windows-template-cache
80-
uses: RevoluPowered/[email protected]
81-
with:
82-
path: /.scons_cache/
83-
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
84-
restore-keys: |
85-
${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
86-
${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}
87-
${{github.job}}-${{env.GODOT_BASE_BRANCH}}
88-
continue-on-error: true
89-
90-
# Use python 3.x release (works cross platform)
91-
- name: Set up Python 3.x
92-
uses: actions/setup-python@v2
93-
with:
94-
# Semantic version range syntax or exact version of a Python version
95-
python-version: '3.x'
96-
# Optional - x64 or x86 architecture, defaults to x64
97-
architecture: 'x64'
98-
99-
# You can test your matrix by printing the current Python version
100-
- name: Configuring Python packages
101-
run: |
102-
python -c "import sys; print(sys.version)"
103-
pip install scons==3.1.2
104-
python --version
105-
scons --version
106-
107-
- name: Compilation
108-
env:
109-
SCONS_CACHE: /.scons_cache/
110-
run: |
111-
scons target=release tools=no
112-
ls -l bin/
113-
114-
- uses: actions/upload-artifact@v2
115-
with:
116-
name: ${{ github.job }}
117-
path: bin/*
66+
path: bin/*

0 commit comments

Comments
 (0)