diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 2d65f44..e54d5c7 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -2,8 +2,8 @@ name: "Build" on: push: - tags: - - '*' + tags: + - '*' jobs: build-and-release: @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: @@ -35,7 +35,6 @@ jobs: shell: bash run: | echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - name: Setup pnpm cache uses: actions/cache@v3 with: @@ -43,7 +42,6 @@ jobs: key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store- - - name: Install deps run: pnpm bootstrap @@ -54,11 +52,11 @@ jobs: id: create_tar shell: bash run: | - tar -cvf ./packages/dag/${{ github.ref }}.tar ./packages/dag/dist - + tar -cvf ./apps/platform/${{ github.ref_name }}.tar ./apps/platform/dist + - name: Release uses: softprops/action-gh-release@v1 with: prerelease: true generate_release_notes: true - files: ./packages/dag/${{ github.ref }}.tar + files: ./apps/platform/${{ github.ref_name }}.tar