Skip to content

Release

Release #118

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
libs:
description: 'List of libraries to force new releases for'
required: true
type: string
push:
branches: [ main ]
paths:
- "libs/**.luau"
jobs:
CI:
runs-on: ${{ matrix.runner-os }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- name: Windows
runner-os: windows-latest
- name: Linux
runner-os: ubuntu-latest
- name: macOS
runner-os: macos-14
steps:
- uses: CompeyDev/[email protected]
- uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
- name: Fetch Changed
id: changed
uses: tj-actions/changed-files@v45
with:
json: true
files: "libs/**.luau"
- name: Write changed
run: echo ${{ steps.changed.outputs.all_changed_files }} >> .changed
echo ${{ steps.changed.outputs.all_changed_files }}
- name: Install Toolchain
run: rokit install --no-trust-check
- name: Run test runner
run: lune run scripts/test_runner release ${{ inputs.libs }}
Main:
needs: CI
runs-on: ubuntu-latest
steps:
- uses: CompeyDev/[email protected]
- uses: actions/checkout@v3
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
- name: Install Toolchain
run: rokit install --no-trust-check
- name: Fetch Changed
id: changed
uses: tj-actions/changed-files@v45
with:
json: true
files: "libs/**.luau"
- name: Write changed
run: echo ${{ steps.changed.outputs.all_changed_files }} >> .changed
- name: Run releases script
env:
GH_TOKEN: ${{ github.token }}
run: lune run scripts/release ${{ inputs.libs }}