Add source code bundle creation workflow
This commit is contained in:
parent
96ae711708
commit
a05f998803
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/make-bundle.yaml
Normal file
23
.forgejo/workflows/make-bundle.yaml
Normal file
|
@ -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
|
Loading…
Reference in a new issue