Added expansion of hosts list.

This commit is contained in:
Alexandr Bogomyakov
2023-06-20 02:44:54 +03:00
parent a0e7c932ba
commit af0c005b92
2 changed files with 18 additions and 14 deletions

View File

@ -23,11 +23,16 @@ jobs:
uses: gmiam/rust-musl-action@master
with:
args: cargo build --target $BUILD_TARGET --release
- uses: actions/upload-artifact@v2
name: Upload artifact
with:
name: ${{ env.BINARY_NAME }}
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
- uses: ncipollo/release-action@v1
with:
artifacts: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/upload-artifact@v2
name: Upload artifact
with:
name: ${{ env.BINARY_NAME }}
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
- uses: ncipollo/release-action@v1
with:
artifacts: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*