From f921ecdcf23acf7eacde540d9b03e4a726d34ad7 Mon Sep 17 00:00:00 2001 From: PTKickass Date: Sat, 16 Sep 2023 16:06:22 +0100 Subject: [PATCH] Update actions to v3 --- .github/workflows/windows_builds.yml | 63 +++------------------------- 1 file changed, 6 insertions(+), 57 deletions(-) diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml index fffc24b148f8..0491a93498cd 100644 --- a/.github/workflows/windows_builds.yml +++ b/.github/workflows/windows_builds.yml @@ -15,16 +15,16 @@ jobs: runs-on: "windows-latest" # Windows Editor - checkout with the plugin - name: Editor (target=release_debug, tools=yes) + name: Editor (target=release, tools=yes) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # Upload cache on completion and check it out now # Editing this is pretty dangerous for Windows since it can break and needs to be properly tested with a fresh cache. - name: Load .scons_cache directory id: windows-editor-cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: /.scons_cache/ key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} @@ -36,7 +36,7 @@ jobs: # Use python 3.x release (works cross platform; best to keep self contained in it's own step) - name: Set up Python 3.x - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: # Semantic version range syntax or exact version of a Python version python-version: '3.x' @@ -60,58 +60,7 @@ jobs: ls -l bin/ - name: Upload artifact windows-editor - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ github.job }} - path: bin/* - retention-days: 14 - - windows-template: - runs-on: "windows-latest" - name: Template (target=release, tools=no) - - steps: - - uses: actions/checkout@v2 - - # Upload cache on completion and check it out now - # Editing this is pretty dangerous for Windows since it can break and needs to be properly tested with a fresh cache. - - name: Load .scons_cache directory - id: windows-template-cache - uses: RevoluPowered/cache@v2.1 - with: - path: /.scons_cache/ - key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} - restore-keys: | - ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} - ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}} - ${{github.job}}-${{env.GODOT_BASE_BRANCH}} - continue-on-error: true - - # Use python 3.x release (works cross platform) - - name: Set up Python 3.x - uses: actions/setup-python@v2 - with: - # Semantic version range syntax or exact version of a Python version - python-version: '3.x' - # Optional - x64 or x86 architecture, defaults to x64 - architecture: 'x64' - - # You can test your matrix by printing the current Python version - - name: Configuring Python packages - run: | - python -c "import sys; print(sys.version)" - pip install scons==3.1.2 - python --version - scons --version - - - name: Compilation - env: - SCONS_CACHE: /.scons_cache/ - run: | - scons target=release tools=no - ls -l bin/ - - - uses: actions/upload-artifact@v2 - with: - name: ${{ github.job }} - path: bin/* + path: bin/* \ No newline at end of file