Skip to content

Commit

Permalink
test: update test workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
easimon committed Jul 26, 2023
1 parent e3f086e commit f869433
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
- name: Record start time
run: |
echo "START_TIME=$(date +%s)" >> $GITHUB_ENV
- name: Determine free space before
run: |
echo "FREE_GIG_BEFORE=$(df --output=avail --sync -BG "${{ github.workspace }}" | tail -1 | sed 's/[^0-9]*//g')" >> $GITHUB_ENV
- name: Check out Maximize Build Space action
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ./.github/actions/maximize-test

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
jq -r '[.os, .remove_android, .remove_dotnet, .remove_haskell, .remove_codeql, .remove_docker_images, .space_freed, .space_free_after, .elapsed_time] | join(" | ")' < "${REPORT_FILENAME_BASE}.json" >> "${REPORT_FILENAME_BASE}.txt"
- name: Upload disk space report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: disk-space-report-single
path: ${{ env.REPORT_DIR }}
Expand All @@ -123,7 +123,7 @@ jobs:

steps:
- name: Download single reports
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: disk-space-report-single
path: ${{ env.REPORT_DIR }}
Expand All @@ -135,13 +135,13 @@ jobs:
cat ${REPORT_DIR}/*.txt >> "${REPORT_DIR}/${REPORT_FILE}"
- name: Upload collected report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: disk-space-report-markdown
path: ${{ env.REPORT_DIR }}/${{ env.REPORT_FILE }}

- name: Checkout report branch
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: test-report

Expand Down

0 comments on commit f869433

Please sign in to comment.