Extract Sample Project #31
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 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 GitHub Actions / Build and Publish Sample ProjectInvalid workflow file
|
||
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 }} |