Skip to content

Commit

Permalink
check /tmp size after goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Aug 8, 2023
1 parent 9b0e108 commit 554a341
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/reusable-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,10 @@ jobs:
run: |
echo "$GPG_KEY" > gpg.key
- name: "create go tmp dir"
run: |
mkdir ./tmp
- name: "free size"
run: |
df -h
echo "tmp folder:"
df -h /tmp
- name: GoReleaser
Expand All @@ -91,7 +89,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}
NFPM_DEFAULT_RPM_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_FILE: "gpg.key"
GOTMPDIR: "./tmp"

- name: "free size"
if: ${{ always() }}
run: |
df -h
echo "tmp folder:"
df -h /tmp
- name: "remove gpg key"
run: |
Expand Down

0 comments on commit 554a341

Please sign in to comment.