Skip to content

Commit

Permalink
chore: upload test video as test artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Nordquist committed May 11, 2024
1 parent a7ce6b4 commit f9e180b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,17 @@ jobs:
run: yarn build
- name: Install Packages
run: yarn ui-test
- uses: actions/upload-artifact@v4
with: ui-test.*
- uses: hkusu/s3-upload-action@v2
id: upload # specify some ID for use in subsequent steps
with:
aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: 'eu-central-1'
aws-bucket: ${{ secrets.AWS_BUCKET }}
file-path: './ui-test.gif'
content-type: image/gif
output-file-url: 'true' # specify true
- name: Show URL
run: echo '${{ steps.upload.outputs.file-url }}'
id: artifact-upload-step
- run: echo '![test](${{ steps.upload.outputs.file-url }})' >> $GITHUB_STEP_SUMMARY

0 comments on commit f9e180b

Please sign in to comment.