Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/source-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Source Code (with Git History)

on:
workflow_dispatch:

permissions:
contents: read

jobs:
archive:
runs-on: ubuntu-latest

steps:
- name: Checkout full repository
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Create source archive
run: |
mkdir archive

rsync -a \
--exclude archive \
--exclude .github \
./ archive/

cp -r .git archive/

- name: Zip
run: |
zip -r source-with-history.zip archive

- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: source-with-history
path: source-with-history.zip