Skip to content

Commit

Permalink
Always use latest version to be able to test
Browse files Browse the repository at this point in the history
  • Loading branch information
MSt-10 committed May 22, 2024
1 parent 2c0dc3d commit 263dc25
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ runs:
shell: bash
# Uses the latest Retriever or the Retriever with the same version that this action has
run: |
if [[ "${{ env.action_version }}" == "main" ]]; then
echo "retriever=${{ github.api_url }}/repos/PalladioSimulator/Palladio-ReverseEngineering-Retriever/releases/latest" >> $GITHUB_ENV
else
echo "retriever=${{ github.api_url }}/repos/PalladioSimulator/Palladio-ReverseEngineering-Retriever/releases/tags/${{ env.action_version }}" >> $GITHUB_ENV
fi
echo "retriever=${{ github.api_url }}/repos/PalladioSimulator/Palladio-ReverseEngineering-Retriever/releases/latest" >> $GITHUB_ENV
# if [[ "${{ env.action_version }}" == "main" ]]; then
# echo "retriever=${{ github.api_url }}/repos/PalladioSimulator/Palladio-ReverseEngineering-Retriever/releases/latest" >> $GITHUB_ENV
# else
# echo "retriever=${{ github.api_url }}/repos/PalladioSimulator/Palladio-ReverseEngineering-Retriever/releases/tags/${{ env.action_version }}" >> $GITHUB_ENV
# fi

- name: Gather Retriever Info
shell: bash
Expand Down

0 comments on commit 263dc25

Please sign in to comment.