Skip to content

Commit

Permalink
Publish CI job: free up disk space earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Apr 26, 2024
1 parent 234291a commit 687b9fc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd-publish-test-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ jobs:
# Sets environment variable $LATEST_RELEASE_TAG
run: ./internal-scripts/ci-cd/check-version-numbers-need-changing/determine-latest-release-tag.sh

- name: Free up disk space
run: sudo rm -rf /usr/share/dotnet "$AGENT_TOOLSDIRECTORY"

- name: Upload DEBs to repo
run: ./internal-scripts/ci-cd/publish/publish-debs.rb pkgs/*/*.deb
env:
Expand All @@ -140,9 +143,6 @@ jobs:
DRY_RUN: ${{ github.ref != 'refs/heads/main' }}
CLEANUP: true

- name: Free up disk space
run: sudo rm -rf /usr/share/dotnet "$AGENT_TOOLSDIRECTORY"

- name: Upload RPMs to repo
run: ./internal-scripts/ci-cd/publish/publish-rpms.rb pkgs/*/*.rpm
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd-publish-test-production.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ jobs:
# Sets environment variable $LATEST_RELEASE_TAG
run: ./internal-scripts/ci-cd/check-version-numbers-need-changing/determine-latest-release-tag.sh

- name: Free up disk space
run: sudo rm -rf /usr/share/dotnet "$AGENT_TOOLSDIRECTORY"

- name: Upload DEBs to repo
run: ./internal-scripts/ci-cd/publish/publish-debs.rb pkgs/*/*.deb
env:
Expand All @@ -130,9 +133,6 @@ jobs:
DRY_RUN: ${{ github.ref != 'refs/heads/main' }}
CLEANUP: true

- name: Free up disk space
run: sudo rm -rf /usr/share/dotnet "$AGENT_TOOLSDIRECTORY"

- name: Upload RPMs to repo
run: ./internal-scripts/ci-cd/publish/publish-rpms.rb pkgs/*/*.rpm
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd-publish-test-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ jobs:
# Sets environment variable $LATEST_RELEASE_TAG
run: ./internal-scripts/ci-cd/check-version-numbers-need-changing/determine-latest-release-tag.sh

- name: Free up disk space
run: sudo rm -rf /usr/share/dotnet "$AGENT_TOOLSDIRECTORY"

- name: Upload DEBs to repo
run: ./internal-scripts/ci-cd/publish/publish-debs.rb pkgs/*/*.deb
env:
Expand All @@ -138,9 +141,6 @@ jobs:
OVERWRITE_EXISTING: false
CLEANUP: true

- name: Free up disk space
run: sudo rm -rf /usr/share/dotnet "$AGENT_TOOLSDIRECTORY"

- name: Upload RPMs to repo
run: ./internal-scripts/ci-cd/publish/publish-rpms.rb pkgs/*/*.rpm
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd-publish-test-test.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ jobs:
# Sets environment variable $LATEST_RELEASE_TAG
run: ./internal-scripts/ci-cd/check-version-numbers-need-changing/determine-latest-release-tag.sh

- name: Free up disk space
run: sudo rm -rf /usr/share/dotnet "$AGENT_TOOLSDIRECTORY"

- name: Upload DEBs to repo
run: ./internal-scripts/ci-cd/publish/publish-debs.rb pkgs/*/*.deb
env:
Expand All @@ -128,9 +131,6 @@ jobs:
OVERWRITE_EXISTING: false
CLEANUP: true

- name: Free up disk space
run: sudo rm -rf /usr/share/dotnet "$AGENT_TOOLSDIRECTORY"

- name: Upload RPMs to repo
run: ./internal-scripts/ci-cd/publish/publish-rpms.rb pkgs/*/*.rpm
env:
Expand Down

0 comments on commit 687b9fc

Please sign in to comment.