modified: .github/workflows/autorelease.yml
Some checks failed
AutoRelease / release (push) Failing after 3m8s

This commit is contained in:
LORAX 2024-05-31 05:32:48 +07:00
parent 61cdbb3b7a
commit b91f95d296

View File

@ -19,20 +19,20 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: '18.x' node-version: "18.x"
- name: Install dependencies NUI - name: Install dependencies NUI
working-directory: ./web working-directory: ./web
run: yarn install --frozen-lockfile run: npm install --frozen-lockfile
- name: Build UI - name: Build UI
working-directory: ./web working-directory: ./web
run: yarn build run: npm build
- name: Zip Folder - name: Zip Folder
run: zip -r ${{ github.event.repository.name }}.zip config.lua fxmanifest.lua impl.lua main.lua README.md LICENSE web/build/* locales/* client/* server/* run: zip -r ${{ github.event.repository.name }}.zip config.lua fxmanifest.lua impl.lua main.lua README.md LICENSE web/build/* locales/* client/* server/*
- uses: 'marvinpinto/action-automatic-releases@latest' - uses: "marvinpinto/action-automatic-releases@latest"
with: with:
repo_token: '${{ secrets.GITHUB_TOKEN }}' repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: '${{ github.event.head_commit.message }}' title: "${{ github.event.head_commit.message }}"
automatic_release_tag: 'latest' automatic_release_tag: "latest"
prerelease: false prerelease: false
files: | files: |
*.zip *.zip