commit ff61965a0b6b65c2d27d97dcfafa510b06011ec6 Author: ThisUsernameHasBeenTaken Date: Wed Jan 22 10:18:39 2025 +0000 Добавить .github/workflows/workflow1.yml diff --git a/.github/workflows/workflow1.yml b/.github/workflows/workflow1.yml new file mode 100644 index 0000000..d8e1c1d --- /dev/null +++ b/.github/workflows/workflow1.yml @@ -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 \ No newline at end of file