[ github actions ] wrong action version on release workflow. #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Node.js CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest, windows-latest, ubuntu-latest] | |
| node-version: [24.x] | |
| steps: | |
| - run: git config --global core.autocrlf false | |
| - name: Install Build Dependencies | |
| if: runner.os == 'linux' | |
| run: | | |
| sudo apt update | |
| sudo apt-get install -y \ | |
| libopenjp2-tools \ | |
| automake \ | |
| libtool \ | |
| libxext-dev \ | |
| libxkbfile-dev \ | |
| libxtst-dev \ | |
| build-essential | |
| - name: Install Node.js, NPM and Yarn | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Check out Git repository | |
| uses: actions/checkout@v2 | |
| - name: Build/release Electron app | |
| uses: samuelmeuli/action-electron-builder@v1 | |
| with: | |
| # GitHub token, automatically provided to the action | |
| # (No need to define this secret in the repo settings) | |
| github_token: ${{ secrets.github_token }} | |
| # If the commit is tagged with a version (e.g. "v1.0.0"), | |
| # release the app after building | |
| release: false | |
| # correct args | |
| args: "--config ./electron-builder.config.js" |