Remove #99 not working test, waiting for pharo solving. #29
Workflow file for this run
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
name: 'Continuous release prod' | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
PROJECT_NAME: Molecule-${{ matrix.smalltalk }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
strategy: | |
matrix: | |
smalltalk: [ Pharo64-11 ] | |
name: ${{ matrix.smalltalk }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hpi-swa/setup-smalltalkCI@v1 | |
with: | |
smalltalk-version: ${{ matrix.smalltalk }} | |
- run: smalltalkci -s ${{ matrix.smalltalk }} | |
shell: bash | |
timeout-minutes: 15 | |
# Here we zip the result of the build to be able to keep the artefacts | |
- name: package | |
run: | | |
mv /home/runner/.smalltalkCI/_builds/* . | |
mv TravisCI.image $PROJECT_NAME.image | |
mv TravisCI.changes $PROJECT_NAME.changes | |
echo ${${{ matrix.smalltalk }}} | sed -e 's/.*\-//g ; s/\..*//g ; s/$/0/' > pharo.version | |
zip -r $PROJECT_NAME.zip $PROJECT_NAME.image $PROJECT_NAME.changes *.sources pharo.version | |
ls | |
#Save the artefact of the build under "continuous" tag | |
- name: Update release | |
uses: johnwbyrd/[email protected] | |
with: | |
release: 'continuous' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: ${{ env.PROJECT_NAME }}.zip |