Fix breaking changed from picocss v2 #66
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 | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Install system dependencies | |
run: ./scripts/setup.sh | |
- name: Install Node dependencies | |
run: npm install | |
- name: Make (Linux) | |
run: npm run make -- --platform linux | |
- name: Make (Windows) | |
run: npm run make -- --platform win32 | |
- name: Make (macOS) | |
run: npm run make -- --platform darwin | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build-artifacts | |
path: | | |
out/make/deb/x64/*.deb | |
out/make/rpm/x64/*.rpm | |
out/make/squirrel.windows/x64/*.exe | |
out/make/zip/darwin/x64/*.zip | |
- name: Create a release for new tags | |
if: startsWith(github.ref, 'refs/tags/v') | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: | | |
out/make/deb/x64/*.deb | |
out/make/rpm/x64/*.rpm | |
out/make/squirrel.windows/x64/*.exe | |
out/make/zip/darwin/x64/*.zip |