Skip to content

Commit 73f83a5

Browse files
committed
Update
1 parent 6bb9a62 commit 73f83a5

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/release-rust.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ jobs:
6262
runs-on: ubuntu-latest
6363
strategy:
6464
matrix:
65-
target: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]
65+
target: [x86_64, amd64]
6666
include:
67-
- target: x86_64-unknown-linux-gnu
68-
arch: x86_64
69-
- target: aarch64-unknown-linux-gnu
70-
arch: amd64
67+
- arch: x86_64
68+
target: x86_64-unknown-linux-gnu
69+
- arch: amd64
70+
target: aarch64-unknown-linux-gnu
71+
7172
steps:
7273
- name: Checkout
7374
uses: actions/checkout@v1
@@ -96,13 +97,13 @@ jobs:
9697
with:
9798
name: deb_${{ matrix.arch }}
9899
path: |
99-
./native/target/debain/okapi/*.deb
100+
./native/target/**/*.deb
100101
101102
- name: Upload to Release
102103
uses: svenstaro/upload-release-action@v2
103104
with:
104105
repo_token: ${{ secrets.GITHUB_TOKEN }}
105-
file: ./native/target/debain/okapi-${{ env.PACKAGE_VERSION }}_${{ matrix.arch }}.deb
106+
file: ./native/target/${{ matrix.target }}/debian/okapi-${{ env.PACKAGE_VERSION }}_${{ matrix.arch }}.deb
106107
asset_name: okapi-${{ env.PACKAGE_VERSION }}_${{ matrix.arch }}.deb
107108
tag: ${{ env.RELEASE_VERSION }}
108109
overwrite: false

0 commit comments

Comments
 (0)