Added expansion of hosts list.

This commit is contained in:
Alexandr Bogomyakov
2023-06-20 01:58:25 +03:00
parent 3672a68fe9
commit 4a670e08d9
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,7 @@ jobs:
with: with:
args: cargo build --target $BUILD_TARGET --release args: cargo build --target $BUILD_TARGET --release
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
name: Upload artifact
with: with:
name: ${{ env.BINARY_NAME }} name: ${{ env.BINARY_NAME }}
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}* path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*

View File

@ -11,6 +11,13 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Wait for tests to succeed
uses: lewagon/wait-on-check-action@v1.3.1
with:
ref: ${{ github.ref }}
check-name: 'Upload artifact'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Create release - name: Create release
uses: Roang-zero1/github-create-release-action@v2 uses: Roang-zero1/github-create-release-action@v2