diff --git a/.github/workflows/CI.yml b/.github/workflows/build.yml similarity index 99% rename from .github/workflows/CI.yml rename to .github/workflows/build.yml index 037c129..1163ae4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: CI +name: build env: DEBUG: napi:* @@ -7,7 +7,8 @@ env: permissions: contents: write id-token: write -'on': + +on: push: branches: - main diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f9033c6..28e755e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,17 +8,17 @@ permissions: on: push: branches: - - main + - ** concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: - call-rust-build: - uses: ./.github/workflows/CI.yaml + call-build: + uses: ./.github/workflows/build.yaml release: name: Release - needs: [call-rust-build] + needs: [call-build] runs-on: ubuntu-latest steps: - name: Checkout Repo