Clean up job.

This commit is contained in:
James Cole
2025-08-17 11:18:48 +02:00
parent bd14797da6
commit 1fe9bf7d76

View File

@@ -148,12 +148,9 @@ jobs:
npm run prod --workspace=v1 npm run prod --workspace=v1
npm run build --workspace=v2 npm run build --workspace=v2
npm update npm update
build: cleanup-meta:
needs: needs:
- prepare - prepare
- validate
- translate
- generate-js
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cleanup changelog - name: Cleanup changelog
@@ -247,6 +244,15 @@ jobs:
echo "BRANCH_NAME=$BRANCH_NAME" >> "$GITHUB_ENV" echo "BRANCH_NAME=$BRANCH_NAME" >> "$GITHUB_ENV"
env: env:
version: ${{ github.event_name == 'schedule' && 'develop' || github.event.inputs.version }} version: ${{ github.event_name == 'schedule' && 'develop' || github.event.inputs.version }}
build:
needs:
- prepare
- validate
- translate
- generate-js
- cleanup-meta
runs-on: ubuntu-latest
steps:
- name: Commit all changes - name: Commit all changes
run: | run: |
# add all content, except output.txt (this contains the changelog and/or the download instructions) # add all content, except output.txt (this contains the changelog and/or the download instructions)