p2pool/.github/workflows/source-snapshot.yml

25 lines
551 B
YAML
Raw Normal View History

2023-08-15 11:31:28 +00:00
name: source-snapshot
on: [push, pull_request]
jobs:
source-snapshot:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
2024-01-26 14:31:52 +00:00
uses: actions/checkout@v4
2023-08-15 11:31:28 +00:00
with:
2024-01-27 20:29:12 +00:00
submodules: recursive
2023-08-15 11:31:28 +00:00
- name: Compress source code
run: |
mkdir build
2023-08-26 18:20:14 +00:00
XZ_OPT=-e9 tar --exclude=".git" --exclude="build" -f build/p2pool_source.tar.xz -c ../p2pool --xz
2023-08-15 11:31:28 +00:00
- name: Archive source code
2024-01-26 14:31:52 +00:00
uses: actions/upload-artifact@v4
2023-08-15 11:31:28 +00:00
with:
2023-08-26 18:20:14 +00:00
name: p2pool_source.tar.xz
path: build/p2pool_source.tar.xz