Try again with the build script #30
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: Ubuntu - Release Examples | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Ubuntu - Release Examples | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download source | |
uses: actions/checkout@v2 | |
- name: Install Crystal | |
uses: oprypin/install-crystal@v1 | |
- name: Install Crystal libs | |
run: shards install | |
- name: sudo apt-get update | |
run: sudo apt-get update | |
- name: run install script | |
run: sh ./rsrc/native/ubuntu/install.sh | |
- name: build examples | |
run: crystal run rsrc/build-examples/build.cr | |
- name: Zip files | |
run: zip -r ubuntu-examples.zip examples/_build/** | |
- uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: true | |
prerelease: true | |
tag: "latest" | |
artifacts: "ubuntu-examples.zip" |