Skip to content

Commit

Permalink
Add newer version of ubuntu in workflow (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackalcooper committed Mar 5, 2024
1 parent 4a482a2 commit 805cdc0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ permissions:
jobs:
build:
name: Build and test
runs-on: ubuntu-20.04
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
runs-on: ["ubuntu-22.04", "ubuntu-20.04"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -54,8 +57,8 @@ jobs:
id: archive
run: |
formatted_date=$(date +'%Y%m%d%H%M')
archive_file="live_xl_rel_${formatted_date}.tar"
archive_file_full="${PWD}/live_xl_rel_${formatted_date}.tar"
archive_file="live_xl_rel_${{ matrix.runs-on }}_${formatted_date}.tar"
archive_file_full="${PWD}/${archive_file}"
cd _build/prod/rel
tar -cvf ${archive_file_full} live_xl
echo "archive_file=${archive_file}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 805cdc0

Please sign in to comment.