diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 527e6f47..ac902791 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,30 +7,30 @@ jobs: build_on_mac: runs-on: macOS-latest steps: - - uses: actions/checkout@v3 - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: 18.x + # - uses: actions/checkout@v3 + # - name: Install Node.js + # uses: actions/setup-node@v3 + # with: + # node-version: 18.x - - uses: pnpm/action-setup@v2 - name: Install pnpm - id: pnpm-install - with: - version: 7 - run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + # - uses: pnpm/action-setup@v2 + # name: Install pnpm + # id: pnpm-install + # with: + # version: 7 + # run_install: false + # - name: Get pnpm store directory + # id: pnpm-cache + # shell: bash + # run: | + # echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT + # - uses: actions/cache@v3 + # name: Setup pnpm cache + # with: + # path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + # key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + # restore-keys: | + # ${{ runner.os }}-pnpm-store- # - name: Install dependencies # run: pnpm install --no-frozen-lockfile @@ -38,17 +38,15 @@ jobs: # - name: Build # run: pnpm build - - name: Release - run: | - cd apps/electron - ls ./ + # - name: Release + # run: | + # cd apps/electron + # ls ./ # pnpm release:mac # env: # USE_HARD_LINKS: false - - name: Upload releases - uses: svenstaro/upload-release-action@v2 + - name: Upload release + uses: actions/upload-artifact@v3 with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ./package.json - tag: ${{ github.ref }} + path: ./apps/electron/types/*