Skip to content

Button styling and eval fix #53

Button styling and eval fix

Button styling and eval fix #53

Workflow file for this run

name: Build
# Run workflow on every push to the master branch
on:
push:
jobs:
publish:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Inject slug/short variables
uses: rlespinasse/[email protected]
- name: "Set master version"
if: ${{ github.ref == 'refs/heads/master'}}
run: echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
env:
APP_VERSION: $(git rev-parse --short "$GITHUB_SHA")
- name: "Set branch version"
if: ${{ github.ref != 'refs/heads/master'}}
run: echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
env:
APP_VERSION: ${{ env.GITHUB_REF_SLUG }}-$(git rev-parse --short "$GITHUB_SHA")
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Build with dotnet
run: dotnet build src/aoWebWallet --configuration Release
- name: Publish Website
run: dotnet publish src/aoWebWallet -o publish/aoWebWallet -c Release --version-suffix ${{ env.APP_VERSION }}