Update autorelease.yml
This commit is contained in:
parent
8315ea5180
commit
e7d49dd739
8
.github/workflows/autorelease.yml
vendored
8
.github/workflows/autorelease.yml
vendored
|
@ -20,19 +20,19 @@ jobs:
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '18.x'
|
||||||
|
cache: 'yarn'
|
||||||
- name: Install dependencies NUI
|
- name: Install dependencies NUI
|
||||||
working-directory: ./web
|
working-directory: ./web
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
- name: Build Bundles
|
- name: Build Bundles
|
||||||
working-directory: ./web
|
working-directory: ./web
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
- name: Zip Folder
|
||||||
|
run: zip -r ${{ github.event.repository.name }}.zip . -x ".git/*" ".github/*" "phpcs.xml" "composer.json" "composer.lock" ".gitignore" ".vscode/*" "node_modules/*"
|
||||||
- uses: 'marvinpinto/action-automatic-releases@latest'
|
- uses: 'marvinpinto/action-automatic-releases@latest'
|
||||||
with:
|
with:
|
||||||
repo_token: '${{ secrets.GITHUB_TOKEN }}'
|
repo_token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
automatic_release_tag: 'latest'
|
automatic_release_tag: 'latest'
|
||||||
prerelease: false
|
prerelease: false
|
||||||
files: |
|
files: |
|
||||||
web/build/*
|
*.zip
|
||||||
*.lua
|
|
||||||
steam/*
|
|
||||||
*.md
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user