[godot] Support "spine-runtimes" feature with custom module build #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Cleanup" | |
on: | |
pull_request: | |
types: [closed] | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: 'Name of the Git branch' | |
required: true | |
default: 'main' | |
jobs: | |
clean-cache: | |
name: "Cleanup Cache" | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/[email protected] | |
- name: "Run gh(auth)" | |
run: gh auth status | |
- name: "Run gh-cleanup-cache.ps1" | |
run: | | |
$branch = "${{ github.event.pull_request.head.ref || github.event.inputs.branch }}" | |
./scripts/gh-cleanup-cache.ps1 -Branch "$branch" | |
shell: pwsh | |
clean-runs: | |
name: "Cleanup Runs" | |
runs-on: windows-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/[email protected] | |
- name: "Run gh(auth)" | |
run: gh auth status | |
- name: "Run gh-cleanup-runs.ps1" | |
run: | | |
$branch = "${{ github.event.pull_request.head.ref || github.event.inputs.branch }}" | |
./scripts/gh-cleanup-runs.ps1 -Branch "$branch" ` | |
-Workflow "build.yml" ` | |
shell: pwsh | |
- name: "Run gh-cleanup-runs.ps1" | |
run: | | |
$branch = "${{ github.event.pull_request.head.ref || github.event.inputs.branch }}" | |
./scripts/gh-cleanup-runs.ps1 -Branch "$branch" ` | |
-Workflow "build-windows-hosted.yml" ` | |
shell: pwsh |