Make windows testbuilds expire properly

hint: don't use bash style variable setting in powershell
master
Beq 2024-02-12 22:26:45 +00:00
parent 2a58ed6cfe
commit 40a64ed70c
1 changed files with 7 additions and 1 deletions

View File

@ -242,11 +242,17 @@ jobs:
if: env.FS_RELEASE_TYPE == 'Nightly'
run: |
echo "EXTRA_ARGS=${{ env.EXTRA_ARGS}} --testbuild=14" >> $GITHUB_ENV
shell: bash
- name: make Alpha builds expire after 28 days
if: env.FS_RELEASE_TYPE == 'Alpha'
run: |
echo "EXTRA_ARGS=${{ env.EXTRA_ARGS}} --testbuild=28" >> $GITHUB_ENV
shell: bash
- name: make Beta builds expire after 28 days
if: env.FS_RELEASE_TYPE == 'Beta'
run: |
echo "EXTRA_ARGS=${{ env.EXTRA_ARGS}} --testbuild=60" >> $GITHUB_ENV
shell: bash
- name: Clean up packages to give more space
run: rm *${{ env.fallback_platform }}*bz2
shell: bash