Fix tarball
This commit is contained in:
@@ -19,8 +19,12 @@ jobs:
|
|||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release --features ${{ matrix.features }}
|
run: cargo build --release --features ${{ matrix.features }}
|
||||||
- name: Create archive
|
- name: Create temporary directory
|
||||||
run: tar czf pacdef-${{ matrix.features }}.tar.gz target/release/pacdef LICENSE README.md
|
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
|
- name: Upload to release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user