Skip to content

Merge pull request #977 from moosetechnology/tiny-cleanup #611

Merge pull request #977 from moosetechnology/tiny-cleanup

Merge pull request #977 from moosetechnology/tiny-cleanup #611

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Continuous
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the development branch
on:
push:
branches:
- development
- master
jobs:
build:
runs-on: ubuntu-latest
env:
PROJECT_NAME: MooseIDE
strategy:
fail-fast: false
matrix:
smalltalk: [ "Pharo64-11" ]
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v3
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: package
run: |
mv /home/runner/.smalltalkCI/_builds/* .
mv TravisCI.image $PROJECT_NAME.image
mv TravisCI.changes $PROJECT_NAME.changes
SMALLTALK_VERSION=${{matrix.smalltalk}}
zip -r $PROJECT_NAME-$SMALLTALK_VERSION.zip $PROJECT_NAME.image $PROJECT_NAME.changes *.sources pharo.version
ls
- name: Update release
uses: Xotl/cool-github-releases@v1
with:
mode: update
replace_assets: true
tag_name: 'continuous'
assets: ${{ env.PROJECT_NAME }}-${{ matrix.smalltalk }}.zip
github_token: ${{ secrets.GITHUB_TOKEN }}