Build/release_SHORT #2
This file contains 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: Build/release_SHORT | |
on: | |
#push: | |
# tags: | |
# - 'v*' | |
#schedule: | |
# - cron: '0 10 * * *' | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
env: | |
is_tag: ${{ startsWith(github.ref, 'refs/tags/v') }} | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
# os: [windows-latest] | |
steps: | |
# Windows fix. See https://github.com/actions/checkout/issues/226 | |
- run: git config --global core.autocrlf false | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Install Node.js and NPM | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: npm install |