diff --git a/.github/workflows/export-source.yml b/.github/workflows/export-source.yml new file mode 100644 index 0000000..81c2845 --- /dev/null +++ b/.github/workflows/export-source.yml @@ -0,0 +1,28 @@ +name: Export source snapshot + +on: + push: + branches: [agent/issues-1-9-export] + pull_request: + +permissions: + contents: read + +jobs: + export: + runs-on: ubuntu-24.04 + steps: + - name: Check out exact source + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + - name: Create deterministic source archive + run: | + tar --sort=name --mtime='UTC 2026-01-01' --owner=0 --group=0 --numeric-owner \ + --exclude=.git --exclude=target \ + -czf /tmp/vfd-lantern-source.tar.gz . + - name: Upload source archive + uses: actions/upload-artifact@v4 + with: + name: vfd-lantern-source + path: /tmp/vfd-lantern-source.tar.gz + if-no-files-found: error + retention-days: 1