Skip to content

Workflow file for this run

name: Bebop WebAssembly REPL
on:
workflow_dispatch:
push:
paths:
- "Repl/**"
pull_request:
paths:
- "Repl/**"
jobs:
build-repl:
env:
REPL_ROOT: ${{github.workspace}}/Repl
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Get Enviorment Variables
id: dotenv
uses: falti/[email protected]
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "7.0.x" # SDK Version to use; x will use the latest version of the 7.0 channel
include-prerelease: true
- name: Restore Project
run: dotnet restore
working-directory: ${{env.REPL_ROOT}}
- name: Build REPL
run: dotnet publish -c Release -p:ReleaseVersion=${{ steps.dotenv.outputs.version }}
working-directory: ${{env.REPL_ROOT}}
- name: Upload Package
uses: actions/upload-artifact@v2
with:
name: bebop-repl-latest
path: ${{github.workspace}}/bin/repl/Release/publish/wwwroot/