Skip to content

Commit

Permalink
Ugh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Dec 20, 2023
1 parent 5734543 commit 08fe432
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,24 @@ jobs:
elixir-version: '1.15.0'
otp-version: '25'
- name: Restore dependencies cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
path: |
deps
_build/prod/lib/
key: ${{ runner.os }}-${{ hashFiles('/usr/bin/elixir') }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ hashFiles('/usr/bin/elixir') }}-${{ hashFiles('**/mix.lock') }}
${{ runner.os }}-${{ hashFiles('/usr/bin/elixir') }}-
${{ runner.os }}-
- name: Install dependencies
run: mix deps.get
- name: Compile
run: MIX_ENV=prod mix compile
- name: Compile release
run:
run: |
MIX_ENV=prod mix distillery.release
cp _build/prod/rel/lichat/releases/*/lichat.tar.gz lichat.tar.gz
cp -v _build/prod/rel/lichat/releases/*/lichat.tar.gz lichat.tar.gz
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 08fe432

Please sign in to comment.