Skip to content

Commit 9c41faa

Browse files
committed
chore(ci): export source for agent worktree
1 parent 9e53076 commit 9c41faa

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: agent-source-export
2+
3+
on:
4+
push:
5+
branches:
6+
- agent-source-export
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
export:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Package source
18+
run: tar --exclude=.git --exclude=target -czf "$RUNNER_TEMP/pi_agent_rust-source.tar.gz" .
19+
- name: Upload source
20+
uses: actions/upload-artifact@v4
21+
with:
22+
name: pi-agent-rust-source
23+
path: ${{ runner.temp }}/pi_agent_rust-source.tar.gz
24+
if-no-files-found: error
25+
retention-days: 1

0 commit comments

Comments
 (0)