Fix tarball
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user