test-artifact-chunks/.forgejo/workflows/artiface.yml
XLion c5cb7d0ed5
Some checks failed
Test artifact / Test (push) Failing after 4m56s
both
2025-06-03 04:02:44 +08:00

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