fix workflow
This commit is contained in:
35
.github/workflows/build-enjoy-app-linux.yml
vendored
Normal file
35
.github/workflows/build-enjoy-app-linux.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Build Enjoy App (Linux)
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- uses: actions/cache@v4
|
||||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
||||
with:
|
||||
path: "**/node_modules"
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Make
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||
run: yarn run enjoy:make
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Enjoy-${{ runner.os }}-x64-build-${{ github.sha }}
|
||||
path: |
|
||||
enjoy/out/make/**/*.deb
|
||||
enjoy/out/make/**/*.rpm
|
||||
Reference in New Issue
Block a user