diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-12-06 21:47:35 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-12-06 21:47:35 +0900 |
| commit | 78614ee900af7c5c4764daa282b81f3ef5951850 (patch) | |
| tree | dcda3d6839ecd4166c1d62060548e45c0227ff6b | |
| parent | 3901df708d5e5f599583de2cc46fc0bfee407bf9 (diff) | |
CI: Clean up intermediate files more
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12279
| -rw-r--r-- | .github/actions/setup/directories/action.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/actions/setup/directories/action.yml b/.github/actions/setup/directories/action.yml index ac5bee1f5f..6cc66407a3 100644 --- a/.github/actions/setup/directories/action.yml +++ b/.github/actions/setup/directories/action.yml @@ -121,17 +121,19 @@ runs: shell: bash working-directory: ${{ inputs.srcdir }} run: | - touch config.status - touch .rbconfig.time - sed -f tool/prereq.status template/Makefile.in > Makefile - sed -f tool/prereq.status template/GNUmakefile.in > GNUmakefile + touch config.status .rbconfig.time + for mk in Makefile GNUmakefile; do + sed -f tool/prereq.status template/$mk.in > $mk + done make up # Cleanup, runs even on failure - if: always() && inputs.makeup shell: bash working-directory: ${{ inputs.srcdir }} - run: rm -f config.status Makefile rbconfig.rb .rbconfig.time + run: | + rm -f config.status .rbconfig.time \ + Makefile GNUmakefile uncommon.mk enc.mk noarch-fake.rb - if: steps.which.outputs.sudo shell: bash |
