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

ready to publish #147

Merged
merged 2 commits into from
Apr 25, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: release

on:
workflow_dispatch:
push:
branches:
- main

jobs:
publish:
Expand All @@ -14,8 +16,10 @@ jobs:
- platform: ubuntu-latest
- platform: windows-latest
args: --target x86_64-pc-windows-msvc
- platform: macos-latest
args: --target x86_64-apple-darwin
- platform: "macos-latest" # (M1 and above).
args: "--target aarch64-apple-darwin"
- platform: "macos-latest" # Intel based macs.
args: "--target x86_64-apple-darwin"
runs-on: ${{ matrix.settings.platform }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -48,9 +52,10 @@ jobs:
run: npm run build

- uses: tauri-apps/tauri-action@v0

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
with:
if: matrix.settings.platform != 'ubuntu-latest'
args: ${{ matrix.settings.args }}
Expand All @@ -65,7 +70,6 @@ jobs:

deploy:
name: Deploy
needs: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ export default defineConfig({
src: "./src/assets/favicon.svg",
},
social: {
email: "mailto:info@tesourofieis.com",
"x.com": "https://x.com/tesourofieis",
discord: "https://discord.gg/EfJgnNNBsv",
github: "https://github.com/tesourofieis/tesourofieis",
patreon: "https://www.patreon.com/tesourofieis",
},
Expand Down Expand Up @@ -199,4 +199,3 @@ export default defineConfig({
service: passthroughImageService(),
},
});

119 changes: 71 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tesourofieis",
"type": "module",
"version": "0.1.6",
"version": "0.1.7",
"engines": {
"node": "20.9.0"
},
Expand Down Expand Up @@ -30,6 +30,7 @@
"@tauri-apps/api": "^2.0.0-beta.7",
"@tauri-apps/cli": "^2.0.0-beta.12",
"@tauri-apps/plugin-notification": "^2.0.0-beta.2",
"@tauri-apps/plugin-updater": "^2.0.0-beta.2",
"@types/react": "^18.2.69",
"@types/react-dom": "^18.2.22",
"astro": "^4.5.9",
Expand Down