From c14050f98109aee39487da5045b1b9d6f621c37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Kro=CC=88ner?= Date: Tue, 29 Oct 2024 15:12:59 +0100 Subject: [PATCH] ci: Copy ci steps from .forgejo to .github --- .github/workflows/build-release.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build-release.yml diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml new file mode 100644 index 0000000..36db744 --- /dev/null +++ b/.github/workflows/build-release.yml @@ -0,0 +1,29 @@ +# SPDX-License-Identifier: MIT +# +# https://code.forgejo.org/forgejo/runner +# +# Build the runner binaries and OCI images +# +# ROLE: forgejo-integration +# DOER: forgejo-ci +# TOKEN: +# +name: Build release + +on: + workflow_dispatch: +jobs: + release: + runs-on: windows-latest + steps: + - uses: actions/checkout@v3 + + - name: Build + run: | + go build -o forgejo-runner.exe + + - name: Upload release + uses: actions/upload-artifact@v4 + with: + name: forgejo-runner + path: forgejo-runner.exe