Skip to content

Commit

Permalink
ci(fix): build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hulxv committed Aug 29, 2023
1 parent 9f1353b commit a2aff0f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- os: ubuntu-20.04
target: x86_64-unknown-linux-gnu
deb: true

- os: ubuntu-20.04
target: aarch64-unknown-linux-gnu
deb: true
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --release --locked --target=${{ matrix.target }} --color=always --verbose
args: --release --target=${{ matrix.target }} --color=always --verbose
use-cross: ${{ runner.os == 'Linux' }}

- name: Install cargo-deb
Expand All @@ -89,7 +89,7 @@ jobs:
args: --no-build --no-strip --output=. --target=${{ matrix.target }}

- name: Package (*nix)
if: contains(matrix.platform.os, 'ubuntu')
if: contains(matrix.os, 'ubuntu')
run: >
echo "install -Dm755 ./prqlite /usr/bin" > "install.sh" &&
tar -cv
Expand All @@ -103,10 +103,7 @@ jobs:
with:
name: ${{ matrix.target }}
path: |
*.exe
*.deb
*.tar.gz
*.zip
prqlite*
- name: Create release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit a2aff0f

Please sign in to comment.