From efe19d4e6194702a6e4130563109f2a0698bca7f Mon Sep 17 00:00:00 2001 From: Keval Kapdee Date: Tue, 2 Apr 2024 19:24:13 +0100 Subject: [PATCH] Fix tarball --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 006b3e3..98ad05e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,12 @@ jobs: - uses: actions/checkout@master - name: Build run: cargo build --release --features ${{ matrix.features }} - - name: Create archive - run: tar czf pacdef-${{ matrix.features }}.tar.gz target/release/pacdef LICENSE README.md + - name: Create temporary directory + run: mkdir pacdef-${{ matrix.features }} + - name: Copy artifacts to directory + run: cp -R target/release/pacdef man LICENSE README.md pacdef-${{ matrix.features }} + - name: Create archive from directory + run: tar czf pacdef-${{ matrix.features }}.tar.gz pacdef-${{ matrix.features }} - name: Upload to release uses: softprops/action-gh-release@v2 with: