Skip to content

Add old reddit link #69

Add old reddit link

Add old reddit link #69

Workflow file for this run

name: Elixir CI
on: push
jobs:
build_and_deploy:
runs-on: ubuntu-18.04
strategy:
matrix:
elixir: [1.12.3]
otp: [23.2.1]
steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: actions/setup-elixir@v1
with:
elixir-version: ${{ matrix.elixir }} # Define the elixir version [required]
otp-version: ${{ matrix.otp }} # Define the OTP version [required]
- name: Retrieve Mix Dependencies Cache
uses: actions/cache@v1
id: mix-cache #id to use in retrieve action
with:
path: deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: Install Mix Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Create release
run: |
MIX_ENV=prod mix release
zip -r build.zip _build/prod/rel/funbunn
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
build.zip