Skip to content

Commit

Permalink
Проверка совместимости (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ann Dyadkova committed Dec 25, 2023
1 parent 0c524c4 commit 00c691f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setAppName-byBash-step/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
file_path=$(find . -type f -name "AppNameDefinitionService.cs")
if [ -n "$file_path" ]; then
sed -i 's/ReleaseTag/${{ github.ref_name }}/g' "$file_path"
sed -i.bak 's/ReleaseTag/${{ github.ref_name }}/g' "$file_path"
else
echo "File not found."
exit 1
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/osx-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,7 @@ jobs:
uses: ./.github/actions/debug-step

- name: Set AppName
run: |
file_path=$(find . -type f -name "AppNameDefinitionService.cs" -print -quit)
if [ -n "$file_path" ]; then
sed -i '' 's/ReleaseTag/${{ github.ref_name }}/g' "$file_path"
echo "Replacement completed successfully."
else
echo "File not found."
exit 1
fi
uses: ./.github/actions/setAppName-byBash-step

- name: Publish
run: sh ./src/Unlimotion.Desktop/ci/osx/generate-osx-publish.sh ${{ github.ref_name }}
Expand Down

0 comments on commit 00c691f

Please sign in to comment.