Skip to content

Commit

Permalink
fixed update_version2.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ji-podhead committed Aug 4, 2024
1 parent 4c1376d commit 9731bf2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/galaxy_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
id: check_changes
run: |
# Überprüfen Sie, ob sich plugin_requirements.yml geändert hat
dif=git diff $PREV_COMMIT_ID $COMMIT_ID 'plugin_requirements.yml' HEAD
dif=
echo $dif
CHANGED=$( dif | grep -q 'plugin_requirements.yml' && echo "true" || echo "false")
if [ "$CHANGED" = "true" ]; then
CHANGED=$(git diff HEAD 'plugin_requirements.yml')
if [ -z "$CHANGED" ]; then
PLUGIN_REQS=$(cat plugin_requirements.yml)
APT_PKG_LIST=$(cat .github/workflows/apt-packages.yml)
echo $PLUGIN_REQS
APT_PKG_LIST=$(cat .github/workflows/apt-packages.yml)
echo $APT_PKG_LIST
echo "PLUGIN_REQS=$PLUGIN_REQS" >> $GITHUB_ENV
echo "APT_PKG_LIST=$APT_PKG_LIST" >> $GITHUB_ENV
Expand Down
3 changes: 1 addition & 2 deletions plugin_requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ apt:
ansible
python:
redfish

matplotlib1
pandas

0 comments on commit 9731bf2

Please sign in to comment.