fix init #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build standalone version | |
on: | |
push: | |
tags: | |
- 'v*' | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: New Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Aftman | |
uses: ok-nick/[email protected] | |
- name: Install Wally dependencies | |
run: | | |
wally install | |
- name: Format code | |
run: | | |
stylua src/ | |
stylua tests/ | |
- name: Build standalone | |
run: | | |
rojo build standalone.project.json --output ./Standalone.rbxm | |
- name: Create release | |
id: create_release | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: ${{ github.ref_name }} | |
name: ${{ github.ref_name }} | |
draft: true | |
generate_release_notes: true | |
files: | | |
./Standalone.rbxm | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |