6.1.133 #1098
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: TREM | |
on: | |
push: | |
branches: [ "pre.30" ] | |
pull_request: | |
branches: [ "pre.30" ] | |
jobs: | |
Windows_x64: | |
runs-on: windows-latest | |
defaults: | |
run: | |
working-directory: TREM.Electron | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Restore dependencies | |
run: npm i | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run dist | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: Upload Artifact | |
uses: actions/upload-artifact@master | |
with: | |
name: "TREM.Windows_x64.exe" | |
path: | | |
D:/a/TREM/TREM/TREM.Electron/dev/*.exe | |
D:/a/TREM/TREM/TREM.Electron/dev/*.msi | |
Linux_amd64: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: TREM.Electron | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Restore dependencies | |
run: npm i | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run dist | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: Upload Artifact | |
uses: actions/upload-artifact@master | |
with: | |
name: "TREM.Linux_amd64.deb" | |
path: | | |
/home/runner/work/TREM/TREM/TREM.Electron/dev/*.deb | |
/home/runner/work/TREM/TREM/TREM.Electron/dev/*.AppImage | |
/home/runner/work/TREM/TREM/TREM.Electron/dev/*.rpm | |
macOS_x64: | |
runs-on: macos-13 | |
defaults: | |
run: | |
working-directory: TREM.Electron | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Restore dependencies | |
run: npm i | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run dist_x64 | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: Upload Artifact | |
uses: actions/upload-artifact@master | |
with: | |
name: "TREM.macOS_x64.dmg" | |
path: | | |
/Users/runner/work/TREM/TREM/TREM.Electron/dev/*.dmg | |
/Users/runner/work/TREM/TREM/TREM.Electron/dev/*.pkg | |
macOS_arm64: | |
runs-on: macos-14 | |
defaults: | |
run: | |
working-directory: TREM.Electron | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Restore dependencies | |
run: npm i | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run dist_arm64 | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: Upload Artifact | |
uses: actions/upload-artifact@master | |
with: | |
name: "TREM.macOS_arm64.dmg" | |
path: | | |
/Users/runner/work/TREM/TREM/TREM.Electron/dev/*.dmg | |
/Users/runner/work/TREM/TREM/TREM.Electron/dev/*.pkg |