Skip to content

Extract Sample Project #31

Extract Sample Project

Extract Sample Project #31

Workflow file for this run

name: Build and Publish Sample Project
on:
push:
branches:
- main
jobs:
publish-main:
runs-on: windows-latest
steps:
- name: Download repository
uses: actions/checkout@master
# Exclusive to the sample workflow; please remove this step!
- name: Extract Sample Project
run: move "Sample Project/*" "../temp/"
run: rmdir ./ /s /q

Check failure on line 20 in .github/workflows/Publish-main.yml

View workflow run for this annotation

GitHub Actions / Build and Publish Sample Project

Invalid workflow file

The workflow is not valid. .github/workflows/Publish-main.yml (Line: 20, Col: 7): 'run' is already defined .github/workflows/Publish-main.yml (Line: 21, Col: 7): 'run' is already defined
run: move "../temp/*" ./
run: rmdir ../temp/*" /s /q
# aftman.toml is currently required to download Lune and build offline.
- name: Setup Aftman
uses: ok-nick/setup-aftman@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Example - Keep if your project uses Wally packages.
- name: Download Wally packages
run: wally install
- name: Install Node.js
uses: actions/setup-node@master
- name: Download Lync
uses: actions/checkout@master
with:
repository: Iron-Stag-Games/Lync
path: Lync
- name: Build
run: node "Lync/Lync/index.js" default.project.json OFFLINE
# Remove this step to test build success without publishing.
- name: Publish
run: rbxcloud experience publish -f "BuildScripts/Build/Build.rbxl" -p ${{ secrets.PLACE_ID }} -u ${{ secrets.EXPERIENCE_ID }} -t published -a ${{ secrets.API_KEY }}