From a05f998803a2938d5de1bda662a884d76b2fa988 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sun, 20 Oct 2024 14:18:00 -0700 Subject: [PATCH] Add source code bundle creation workflow --- .forgejo/workflows/make-bundle.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .forgejo/workflows/make-bundle.yaml diff --git a/.forgejo/workflows/make-bundle.yaml b/.forgejo/workflows/make-bundle.yaml new file mode 100644 index 0000000..f80b439 --- /dev/null +++ b/.forgejo/workflows/make-bundle.yaml @@ -0,0 +1,23 @@ +name: Bundle +run-name: Create a bundle for the project's source code +on: [push] + +jobs: + make-bundle: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + with: + submodules: recursive + ref: main + fetch-depth: 0 + - name: Upload source code + uses: actions/upload-artifact@v4 + with: + name: source_archive + path: ** + compression-level: 9 + overwrite: true + include-hidden-files: true + if-no-files-found: error