Upload with upload-artifact #296
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 | |
on: [push, pull_request] | |
jobs: | |
build_on_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@master | |
with: | |
node-version: 18.15.0 | |
- name: install dependencies | |
run: yarn install | |
- name: build | |
run: yarn make | |
- name: upload artifacts | |
uses: actions/[email protected] | |
with: | |
name: artifacts | |
path: out/make | |
build_on_mac: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@master | |
with: | |
node-version: 18.15.0 | |
- name: install dependencies | |
run: yarn install | |
- name: build | |
run: yarn make | |
- name: upload artifacts | |
uses: actions/[email protected] | |
with: | |
name: artifacts | |
path: out/make | |
build_on_win: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@master | |
with: | |
node-version: 18.15.0 | |
- name: install dependencies | |
run: yarn install | |
- name: build | |
run: yarn make | |
- name: upload artifacts | |
uses: actions/[email protected] | |
with: | |
name: artifacts | |
path: out/make |