Skip to content

Scales Assertion icons correctly #980

Scales Assertion icons correctly

Scales Assertion icons correctly #980

Workflow file for this run

name: testAndBuild
on: [push, pull_request]
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Select platform(s)
os: [ ubuntu-latest, windows-latest ]
# Select compatible Smalltalk image(s)
smalltalk: [ Squeak64-6.0 ]
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
timeout-minutes: 15
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: ./scripts/build_image.sh
if: matrix.os == 'ubuntu-latest' && (github.ref == 'refs/heads/main')
shell: bash
- name: Upload Image
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-latest' && (github.ref == 'refs/heads/main')
with:
name: Babylonian-6.0.zip
path: ./deploy/Babylonian-6.0.zip
- name: Upload Image
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-latest' && (github.ref == 'refs/heads/main')
with:
name: screenshot
path: ./deploy/screenshot-for-readme.png