This commit is contained in:
1 parent
7af6267711
commit
6093a50548
1 file changed
+17
@@ -30,3 +30,20 @@ jobs:
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
- name: Generate test artifact
|
||||
run: |
|
||||
mkdir -p artifact-test
|
||||
printf 'Gitea artifact upload test\n' > artifact-test/test.txt
|
||||
date -u >> artifact-test/test.txt
|
||||
dd if=/dev/urandom of=artifact-test/test.bin bs=1M count=5
|
||||
cd artifact-test
|
||||
sha256sum test.txt test.bin > SHA256SUMS
|
||||
cat SHA256SUMS
|
||||
|
||||
- name: Upload test artifact
|
||||
uses: https://github.com/actions/upload-artifact@v3
|
||||
with:
|
||||
name: minio-upload-test
|
||||
path: artifact-test/
|
||||
if-no-files-found: error
|
||||
retention-days: 3
|
||||
Reference in new issue
Block a user