Skip to content

Commit

Permalink
test upload / download
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Mar 22, 2024
1 parent 98b84bb commit a1fe3e4
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/download.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test Download

on:
workflow_dispatch:

jobs:
stuff:
runs-on: ubuntu-latest
steps:
- uses: dawidd6/action-download-artifact@6f8f427fb41886a66b82ea11a5a15d1454c79415
with:
workflow: upload.yml
workflow_conclusion: success
commit: ${{ github.sha }}
name: my-artifact
path: .
- run: ls -l
16 changes: 16 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Test Upload

on:
push:
branches:
- '**'

jobs:
stuff:
runs-on: ubuntu-latest
steps:
- run: echo hello > world.txt
- uses: actions/upload-artifact@v4
with:
name: my-artifact
path: world.txt

0 comments on commit a1fe3e4

Please sign in to comment.