Skip to content

Commit

Permalink
chore: workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abinba committed Jul 30, 2024
1 parent 6e6e058 commit 2e3f503
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
uses: docker/setup-qemu-action@v1

- name: Get number of CPU cores
id: get-cores
run: echo "::set-output name=cores::$(nproc)"
run: |
echo "cores=$(nproc)" >> $GITHUB_ENV
- name: Build and start Docker Compose in the background
env:
SPARK_WORKER_CORES: ${{ steps.get-cores.outputs.cores }}
SPARK_WORKER_CORES: ${{ env.cores }}
run: |
sed -i "s/16/${SPARK_WORKER_CORES}/" docker-compose.yml
docker-compose up --build -d
Expand Down

0 comments on commit 2e3f503

Please sign in to comment.