Update autorelease.yml

This commit is contained in:
Lorraxs 2024-01-17 18:06:56 +07:00
parent 02c1ed266e
commit 6a12fbb235

View File

@ -20,14 +20,15 @@ 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 - name: Zip Folder
run: zip -r ${{ github.event.repository.name }}.zip . -x ".git/*" ".github/*" "phpcs.xml" "composer.json" "composer.lock" ".gitignore" ".vscode/*" "node_modules/*" 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 }}'