From ff61965a0b6b65c2d27d97dcfafa510b06011ec6 Mon Sep 17 00:00:00 2001 From: ThisUsernameHasBeenTaken Date: Wed, 22 Jan 2025 10:18:39 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.github/workflows/workflow1.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/workflow1.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .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