Skip to content

Commit

Permalink
runner.temp only valid in job
Browse files Browse the repository at this point in the history
  • Loading branch information
hgschmie committed Nov 14, 2023
1 parent 1c2fb15 commit a013903
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- master

env:
tarFile: "${{ runner.temp }}/output-${{ github.job }}-${{ github.run_number }}-${{ github.run_attempt }}.tar.gz"
tarFile: "output-${{ github.job }}-${{ github.run_number }}-${{ github.run_attempt }}.tar.gz"

jobs:
ci:
Expand All @@ -35,13 +35,13 @@ jobs:
run: |
FOLDER=$(basename `pwd`)
cd ..
tar czf ${{ env.tarFile }} --exclude=.git $FOLDER
tar czf ${{ runner.temp }}/${{ env.tarFile }} --exclude=.git $FOLDER
- uses: keithweaver/[email protected]
name: Upload
with:
command: cp
source: ${{ env.tarFile }}
source: ${{ runner.temp }}/${{ env.tarFile }}
destination: s3://github-action-error-logs/${{ github.repository }}/${{ env.tarFile }}
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down

0 comments on commit a013903

Please sign in to comment.