Compare commits

...
Author SHA1 Message Date
Prayag Prajapati abca22763c Add env to workflow 2023-12-08 15:04:31 +05:30
Prayag Prajapati 2e62d3d2ee fix build.yml 2023-12-08 14:40:13 +05:30
+4 -3
View File
@@ -14,6 +14,7 @@ jobs:
matrix: matrix:
platform: [macos-latest, ubuntu-22.04, windows-latest] platform: [macos-latest, ubuntu-22.04, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
environment: TAURI
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -63,12 +64,12 @@ jobs:
run: pnpm install --no-frozen-lockfile && pnpm run build # Change this to npm, yarn or pnpm. run: pnpm install --no-frozen-lockfile && pnpm run build # Change this to npm, yarn or pnpm.
- name: Build the app - name: Build the app
uses: tauri-apps/tauri-action@vdev uses: tauri-apps/tauri-action@dev
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY}} TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD}} TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with: with:
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags. tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
releaseName: "App Name v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version. releaseName: "App Name v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version.