Skip to content

Commit

Permalink
release: 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Agitator committed Sep 24, 2024
1 parent 5a11ca7 commit adc8e1f
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
# - platform: 'macos-latest' # for Intel based macs.
# args: '--target x86_64-apple-darwin'
# - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
# args: ''
# - platform: 'windows-latest'
# args: ''
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
args: ''
- platform: 'windows-latest'
args: ''

runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -54,12 +54,21 @@ jobs:
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: pnpm install # change this to npm or pnpm depending on which one you use.

- name: Get package name
id: get_package_name
- name: Get package name from unix
id: get_package_name_from_unix
if: matrix.platform != 'windows-latest'
run: |
PACKAGE_NAME=$(npm pkg get name | tr -d '"')
echo "PACKAGE_NAME=$PACKAGE_NAME" >> $GITHUB_ENV
- name: Get package name from windows
id: get_package_name_from_windows
if: matrix.platform == 'windows-latest'
run: |
$packageName = (npm pkg get name).Trim('"')
echo "PACKAGE_NAME=$packageName" >> $env:GITHUB_ENV
shell: pwsh

- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit adc8e1f

Please sign in to comment.