Skip to content

Commit

Permalink
Update exec commands in docker to use '--login' to import the shells …
Browse files Browse the repository at this point in the history
…paths within the container to find kup (#947)

* modified:   .github/workflows/kontrol-push-unfixed-deps.yml
- Update exec commands in docker to use '--login' to import the shells
  paths within the container to ind kup

* Update kontrol-push-unfixed-deps.yml

Upgrade artifact-upload action to v4, v3 is deprecating soon. Resolving warning from summary
  • Loading branch information
F-WRunTime authored Jan 27, 2025
1 parent a2403fd commit e40150b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/kontrol-push-unfixed-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
if [ -n "${{ inputs.haskell-version }}" ]; then
HASKELL_OVERRIDE="--override kevm/k-framework/haskell-backend ${{ inputs.haskell-version }}"
fi
docker exec kontrol-build-with-kup-${{ github.run_id }} /bin/bash -c "kup install kontrol ${KONTROL_OVERRIDE} ${KEVM_OVERRIDE} ${K_OVERRIDE} ${LLVM_OVERRIDE} ${HASKELL_OVERRIDE}"
docker exec kontrol-build-with-kup-${{ github.run_id }} /bin/bash -c "kup list kontrol --inputs" >> versions.out
docker exec kontrol-build-with-kup-${{ github.run_id }} /bin/bash --login -c "kup install kontrol ${KONTROL_OVERRIDE} ${KEVM_OVERRIDE} ${K_OVERRIDE} ${LLVM_OVERRIDE} ${HASKELL_OVERRIDE}"
docker exec kontrol-build-with-kup-${{ github.run_id }} /bin/bash --login -c "kup list kontrol --inputs" >> versions.out
docker commit kontrol-build-with-kup-${{ github.run_id }} ghcr.io/runtimeverification/kontrol-custom:${{ github.run_id }}
docker push ghcr.io/runtimeverification/kontrol-custom:${{ github.run_id }}
- name: 'Publish Versions to Artifacts'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Versions
path: versions.out
Expand Down

0 comments on commit e40150b

Please sign in to comment.