Skip to content

Commit

Permalink
Merge pull request #499 from ant-media/lastpeony-patch-1
Browse files Browse the repository at this point in the history
Update update-embedded-player.yml
  • Loading branch information
mustafaboleken authored Oct 8, 2024
2 parents 25daee9 + f10d767 commit facdcf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-embedded-player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- name: Update @antmedia/web_player
working-directory: ./embedded-player
run: |
OLD_EMBEDDED_PLAYER_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player']")
OLD_EMBEDDED_PLAYER_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player'].replace(/\\^/, '')")
npm install --save @antmedia/web_player@latest || { echo 'npm install failed' ; exit 1; }
NEW_EMBEDDED_PLAYER_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player']")
NEW_EMBEDDED_PLAYER_VERSION=$(node -p "require('./package.json').dependencies['@antmedia/web_player'].replace(/\\^/, '')")
echo "OLD_EMBEDDED_PLAYER_VERSION=$OLD_EMBEDDED_PLAYER_VERSION" >> $GITHUB_ENV
echo "NEW_EMBEDDED_PLAYER_VERSION=$NEW_EMBEDDED_PLAYER_VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit facdcf4

Please sign in to comment.