-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Continuous | ||
|
||
# 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 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
PROJECT_NAME: ${{ matrix.smalltalk }}-Midas | ||
strategy: | ||
matrix: | ||
smalltalk: [ Pharo64-9.0 ] | ||
name: ${{ matrix.smalltalk }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: hpi-swa/setup-smalltalkCI@v1 | ||
with: | ||
smalltalk-version: ${{ matrix.smalltalk }} | ||
- run: smalltalkci -s ${{ matrix.smalltalk }} | ||
shell: bash | ||
timeout-minutes: 15 | ||
|
||
- name: package | ||
run: | | ||
mv /home/runner/.smalltalkCI/_builds/* . | ||
mv TravisCI.image $PROJECT_NAME.image | ||
mv TravisCI.changes $PROJECT_NAME.changes | ||
zip -r $PROJECT_NAME.zip $PROJECT_NAME.image $PROJECT_NAME.changes *.sources pharo.version | ||
ls | ||
- name: Update Release | ||
# You may pin to the exact commit or the version. | ||
# uses: johnwbyrd/update-release@1d5ec4791e40507e5eca3b4dbf90f0b27e7e4979 | ||
uses: johnwbyrd/[email protected] | ||
with: | ||
release: 'continuous' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
files: ${{ env.PROJECT_NAME }}.zip |