Skip to content

Release 1.5.8

Release 1.5.8 #8

Workflow file for this run

name: Build and Release
on:
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16' # Change to your required Node.js version
- name: Install dependencies
run: yarn install --frozen-lockfile # Use Yarn to install dependencies
- name: Build the project
run: yarn build:production # Adjust this command based on your build process
- name: Create release directory
run: mkdir -p release/kokofixcomputers
- name: Package the build into a tar file
run: |
TAR_FILE="release/kokofixcomputers/panel.tar.gz" # Set the desired filename here
tar -czf "$TAR_FILE" . # The dot (.) indicates to include everything in the current directory
echo "Release created at $TAR_FILE"
- name: Upload release artifact
uses: actions/upload-artifact@v3
with:
name: release-artifact
path: release/kokofixcomputers/panel.tar.gz # Update to match the new filename