[Fix] remove the wait for action

This commit is contained in:
Mist 2024-04-06 00:43:50 +08:00
parent cb4b02d7e0
commit 4cdf8b6970
No known key found for this signature in database
GPG key ID: B6B08DB7604B8628
2 changed files with 7 additions and 18 deletions

View file

@ -1,9 +1,9 @@
name: Build
on:
push:
push:
paths:
generator/**
project.toml
branches:
- main

View file

@ -1,11 +1,10 @@
name: Release
on:
push:
paths:
project.toml
branches:
- main
workflow_run:
workflows: [build]
types:
- completed
permissions:
contents: write
@ -14,16 +13,6 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Wait for build workflow to succeed
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-regexp: 'with rust'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
allowed-conclusions: success,skipped,cancelled
- name: Checkout
uses: actions/checkout@v4
with: