forked from ThisUsernameHasBeenTaken/TestRepo
Добавить .github/workflows/workflow1.yml
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user