diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b1203a..71cd2ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,7 @@ name: Build React on: push: branches: ["**"] + workflow_call: jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a75a8a1..d4163ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,10 @@ on: types: [published] jobs: + build: + uses: ./.github/workflows/build.yml release: + needs: build runs-on: ubuntu-latest steps: - name: Checkout @@ -14,7 +17,7 @@ jobs: - name: Download Artifacts uses: actions/download-artifact@v4 with: - name: build.zip + name: build - name: Upload Artifacts to GitHub Release uses: ncipollo/release-action@v1