Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign Windows GA and delete obsolete packages #119

Merged
merged 13 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 28 additions & 7 deletions .github/workflows/windows-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,24 @@ jobs:
steps:
- name: Github checkout
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'

- name: Get yarn cache directory path (Windows)
id: yarn-cache-dir-path-windows
run: echo "dir=$(yarn cache dir)" >> ${env:GITHUB_OUTPUT}
- uses: actions/cache@v4
id: yarn-cache-windows
with:
path: ${{ steps.yarn-cache-dir-path-windows.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- if: runner.os == 'Windows'
run: |
set NODE_OPTIONS=--max-old-space-size=4096
Expand All @@ -28,10 +42,17 @@ jobs:
cmd: workspace desktop install --network-timeout 100000
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: yarn workspace desktop make
- name: List
run: ls
- name: Prepare Publish
uses: borales/actions-yarn@v4
with:
cmd: workspace desktop publish-app -- --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get version
id: package-version
run: |
echo "::set-output name=version::$(node -p "require('./package.json').version")"
- name: Sign Setup Artifact
uses: sslcom/esigner-codesign@develop
with:
Expand All @@ -40,14 +61,14 @@ jobs:
password: ${{ secrets.SSL_COM_PASSWORD }}
credential_id: ${{ secrets.SSL_COM_CREDENTIAL_ID }}
totp_secret: ${{ secrets.SSL_COM_TOTP_SECRET }}
file_path: dist/llavero-0.1.1.Setup.exe
file_path: ${GITHUB_WORKSPACE}/apps/desktop/out/make/squirrel.windows/x64/llavero-${{ steps.package-version.outputs.version }} Setup.exe
malware_block: false
override: false
override: true
environment_name: PROD
- name: Publish
uses: borales/actions-yarn@v4
with:
cmd: workspace desktop publish-app --auth-token=${{secrets.GITHUB_TOKEN }}
cmd: workspace desktop publish-app -- --from-dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions apps/home/.eslintrc.json

This file was deleted.

36 changes: 0 additions & 36 deletions apps/home/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions apps/home/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions apps/home/next.config.js

This file was deleted.

26 changes: 0 additions & 26 deletions apps/home/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions apps/home/postcss.config.js

This file was deleted.

1 change: 0 additions & 1 deletion apps/home/public/next.svg

This file was deleted.

1 change: 0 additions & 1 deletion apps/home/public/vercel.svg

This file was deleted.

25 changes: 0 additions & 25 deletions apps/home/src/app/api/install/route.ts

This file was deleted.

Binary file removed apps/home/src/app/favicon.ico
Binary file not shown.
3 changes: 0 additions & 3 deletions apps/home/src/app/globals.css

This file was deleted.

22 changes: 0 additions & 22 deletions apps/home/src/app/layout.tsx

This file was deleted.

135 changes: 0 additions & 135 deletions apps/home/src/app/page.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions apps/home/tailwind.config.ts

This file was deleted.

Loading
Loading