Skip to content

Try again with the build script #30

Try again with the build script

Try again with the build script #30

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"