Skip to content

Update README.md

Update README.md #19

Workflow file for this run

name: Windows, macOS, and Ubuntu (Latest Build)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Download RCC
run: |
git clone https://github.com/roblox-compilers/rcc
cd rcc
- name: Install dependencies
run: |
cd rcc
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run script
run: |
cd rcc
mkdir ${{ github.workspace }}/build
echo ${{ github.workspace }}/build | python rcc.py install rbxpy
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os == 'Windows' && 'rbxpy-win' || runner.os == 'Ubuntu' && 'rbxpy-ubuntu' || 'rbxpy-macos' }}
path: '${{ github.workspace }}/build/'
#- name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# draft: false
# prerelease: false
#- name: Upload release asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.latest_release.outputs.upload_url }}
# asset_path: '${{ github.workspace }}/build/'
# asset_name: ${{ runner.os == 'Windows' && 'rcc-win' || runner.os == 'Ubuntu' && 'rcc-ubuntu' || 'rcc-macos' }}'
# asset_content_type: application/octet-stream