Update autorelease.yml

This commit is contained in:
Lorraxs 2024-04-08 12:35:27 +07:00
parent fc8a4f4587
commit 0935cbf272

View File

@ -23,19 +23,16 @@ jobs:
- name: Install dependencies NUI
working-directory: ./web
run: yarn install --frozen-lockfile
- name: Build Bundles
- name: Build UI
working-directory: ./web
run: yarn build
- name: Zip Folder
run: zip -r ${{ github.event.repository.name }}.zip config.lua fxmanifest.lua impl.lua main.lua README.md LICENSE web/build/* client/* server/*
- name: Get Versioning Data
id: versioning
uses: Soumeh/Auto-Versioning@main
- uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
title: 'v${{ steps.versioning.outputs.tag }}'
automatic_release_tag: ${{ steps.versioning.outputs.tag }}
title: '${{ github.event.head_commit.message }}'
automatic_release_tag: 'latest'
prerelease: false
files: |
*.zip