Skip to content

Fix typo in cp command #4

Fix typo in cp command

Fix typo in cp command #4

Workflow file for this run

name: Build on Tag
on:
push:
tags:
- '*'
jobs:
build-on-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Node.js and Yarn
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build
run: |
cd code
yarn install
yarn build
- name: Copy files
run: |
mkdir -p bcl-runcode
cp -r build bcl-runcode/build
cp fxmanifest.production.lua bcl-runcode/fxmanifest.lua
cp run.lua bcl-runcode/run.lua
zip -r bcl-runcode.zip bcl-runcode
- name: Create Release
uses: 'marvinpinto/[email protected]'
id: auto_release
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
title: '${{ env.RELEASE_VERSION }}'
prerelease: false
files: bcl-runcode.zip
env:
CI: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}