add armv7 release step (#38)

This commit is contained in:
Douglas Campos 2020-03-18 02:52:57 -04:00 committed by GitHub
parent 69546f8b11
commit e5a051f679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
target: ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl"] target: ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "armv7-unknown-linux-musleabihf"]
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
@ -73,6 +73,18 @@ jobs:
asset_name: "zoxide-x86_64-unknown-linux-musl" asset_name: "zoxide-x86_64-unknown-linux-musl"
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- uses: actions/download-artifact@v1
with:
name: "zoxide-armv7-unknown-linux-musleabihf"
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "zoxide-armv7-unknown-linux-musleabihf/zoxide"
asset_name: "zoxide-armv7-unknown-linux-musleabihf"
asset_content_type: application/octet-stream
- uses: actions/download-artifact@v1 - uses: actions/download-artifact@v1
with: with:
name: "zoxide-x86_64-apple-darwin" name: "zoxide-x86_64-apple-darwin"