Update autorelease.yml

This commit is contained in:
Lorraxs 2024-01-17 17:55:25 +07:00
parent 8315ea5180
commit e7d49dd739

View File

@ -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