25 lines
467 B
YAML
25 lines
467 B
YAML
|
name: Test Artifact Upload
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
workflow_dispatch:
|
||
|
|
||
|
jobs:
|
||
|
test-upload:
|
||
|
runs-on: docker
|
||
|
container: ghcr.io/catthehacker/ubuntu:full-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Create test file
|
||
|
run: |
|
||
|
dd if=/dev/urandom of=test.bin bs=1M count=20
|
||
|
ls -lh test.bin
|
||
|
|
||
|
- name: Upload test file
|
||
|
uses: actions/upload-artifact@v4
|
||
|
with:
|
||
|
name: test-artifact
|
||
|
path: test.bin
|