diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f3cf0d..392bdbb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,16 +43,15 @@ jobs: cargo login ${{ secrets.CRATES_IO_TOKEN }} sed 's/version = "0.0.0"/version = "'${{ needs.version.outputs.version }}'"/g' Cargo.toml > Cargo.toml.tmp mv Cargo.toml.tmp Cargo.toml - cargo build --target x86_64-unknown-linux-gnu --release cargo publish --target x86_64-unknown-linux-gnu --allow-dirty - name: package assets (manpages) run: | - cd ./target/assets/man - tar -czf ../../../manpages.tar.gz + cd ./target/x86_64-unknown-linux-gnu/assets/man + tar -czf ../../../../manpages.tar.gz - name: package assets (shell completion) run: | - cd ./target/assets/shell - tar -czf ../../../shell-completion.tar.gz + cd ./target/x86_64-unknown-linux-gnu/assets/shell + tar -czf ../../../../shell-completion.tar.gz - name: upload asset (manpages) uses: actions/upload-release-asset@v1 env: