Добавить .github/workflows/workflow1.yml

This commit is contained in:
2025-01-22 10:18:39 +00:00
commit ff61965a0b
+21
View File
@@ -0,0 +1,21 @@
name: Generate and publish artifacts
on:
workflow_dispatch:
jobs:
generate_publish:
runs-on: ubuntu-latest
permissions:
actions: read
contents: write
steps:
- name: Generate artifacts
shell: bash
run: |
mkdir output
echo "TEST_VAR=123" | tee -a output/build_details.txt
- name: Publish artifacts
uses: christopherhx/gitea-upload-artifact@v4
with:
name: build_details_${{ github.run_id }}
path: ${{ github.workspace }}/output/*
retention-days: 7