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: