40 lines
No EOL
860 B
YAML
40 lines
No EOL
860 B
YAML
name: Test artifact
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '**.md'
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
verify:
|
|
name: Test
|
|
runs-on: docker-arm
|
|
steps:
|
|
|
|
- name: Create 0.5g
|
|
run: |
|
|
mkdir 0.5gb
|
|
dd if=/dev/urandom of=0.5gb/random_0.5G.bin bs=1M count=512 status=progress
|
|
|
|
- name: Publish Artifacts 0.5g
|
|
uses: forgejo/upload-artifact@v4
|
|
with:
|
|
name: 0.5gb
|
|
path: 0.5gb
|
|
if-no-files-found: error
|
|
|
|
- name: Create 1g
|
|
run: |
|
|
mkdir 1gb
|
|
dd if=/dev/urandom of=1gb/random_1G.bin bs=1M count=1024 status=progress
|
|
|
|
- name: Publish Artifacts
|
|
uses: forgejo/upload-artifact@v4
|
|
with:
|
|
name: 1gb
|
|
path: 1gb
|
|
if-no-files-found: error |