Skip to content

Commit

Permalink
feat: OBS-392 - server release CI - simplify even more
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Fiedorowicz <[email protected]>
  • Loading branch information
mfiedorowicz committed Feb 14, 2024
1 parent 0a5b9fc commit c5f73ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/server-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
- name: Get changed dirs
id: get-changed-dirs
run: |
echo "changed-dirs<<EOF" >> $GITHUB_OUTPUT
echo "$(git diff --name-only --diff-filter=ACMRTUXB origin/${{ github.base_ref }} ${{ steps.short-sha.outputs.short_sha }} | xargs dirname | sort -u)" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
echo "changed-dirs=$(git diff --name-only origin/${{ github.base_ref }} ${{ steps.short-sha.outputs.short_sha }} | xargs dirname | sort -u | tr '\n' ';')" >> $GITHUB_OUTPUT
- name: Echo changed dirs
run: |
echo "changed-dirs: ${{ steps.get-changed-dirs.outputs.changed-dirs }}"

0 comments on commit c5f73ca

Please sign in to comment.