Skip to content

Commit

Permalink
リリース用アクションの修正 (#314)
Browse files Browse the repository at this point in the history
- Actionsの記述を微修正
- node.jsのパッケージを少しだけアップデート
  • Loading branch information
nokonoko1203 authored Feb 21, 2024
1 parent 08e5902 commit 581e856
Show file tree
Hide file tree
Showing 2 changed files with 770 additions and 111 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,30 @@ jobs:
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
workspaces: "./src-tauri -> target"

- name: Sync node version and setup cache
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
cache-dependency-path: ./app/package-lock.json
node-version: "lts/*"
cache: "npm"
cache-dependency-path: ./app/package-lock.json

- name: Install frontend dependencies
run: npm install
run: npm install
working-directory: ./app

- name: Set optimization options
run: |
echo 'profile.release.lto = true' >> Cargo.toml
echo 'profile.release.panic = abort' >> Cargo.toml
echo 'profile.release.lto = "true"' >> Cargo.toml
echo 'profile.release.panic = "abort"' >> Cargo.toml
- name: Build the app
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: ${{ github.event.release.tag_name }}
releaseName: "PLATEAU Converter v__VERSION__"
releaseName: "PLATEAU GIS Converter v__VERSION__"
releaseDraft: true
prerelease: false

Loading

0 comments on commit 581e856

Please sign in to comment.