Skip to content
Closed
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
36 changes: 36 additions & 0 deletions .github/workflows/export-source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Export source snapshot

on:
push:
branches:
- agent/private-games-bots-export2
pull_request:
branches:
- agent/private-games-bots
workflow_dispatch:

permissions:
contents: read

jobs:
export:
runs-on: ubuntu-22.04
steps:
- name: Check out source
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: false

- name: Create source archive
run: |
set -euo pipefail
git ls-files -z | tar --null -T - -czf void-arena-source.tar.gz

- name: Upload source archive
uses: actions/upload-artifact@v4
with:
name: void-arena-source-${{ github.sha }}
path: void-arena-source.tar.gz
compression-level: 0
retention-days: 1
Loading