Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
elysia-best committed Apr 22, 2024
1 parent 75cb88f commit 0d616c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
steps:
- id: set-matrix
run: |
echo "pkg_names=$(cat lingmo/pkgs | jq -R -s -c 'split("\n")[:-1] | map({pkg_name: .})')" >> $GITHUB_ENV
echo "::set-output name=matrix::$(echo ${{ env.pkg_names }} | base64)"
JSON_OUTPUT=$(cat lingmo/pkgs | jq -R -s -c 'split("\n")[:-1] | map({pkg_name: .})')
echo "matrix={\"pkgs\" : $JSON_OUTPUT}" >> $GITHUB_OUTPUT
build:
needs: generate-data
runs-on: ubuntu-latest
container: docker.io/library/debian:trixie-slim
strategy:
matrix: ${{fromJson(needs.generate-data.outputs.matrix)}}
name: Build ${{ matrix.pkg_name }}
name: Build ${{ matrix.pkgs.pkg_name }}
steps:
- name: Update Apt and Install packages
run: |
apt-get update -y && apt-get upgrade -y
apt install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++ --no-install-recommends
bash build-pkg.sh "${{ matrix.pkg_name }}"
bash build-pkg.sh "${{ matrix.pkgs.pkg_name }}"

0 comments on commit 0d616c0

Please sign in to comment.