Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Oct 13, 2023
1 parent 0a7d565 commit fc537fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 37 deletions.
31 changes: 0 additions & 31 deletions .github/actions/cdn/action.yml

This file was deleted.

17 changes: 11 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,17 @@ jobs:
- name: Get Package Info
id: package-info
if: |
${{ inputs.package }} === 'iris-web-rtc'
then:
version: $(node -p "require('./packages/rtc/package.json').version")

else if: |
${{ inputs.package }} === 'iris-web-rtm'
then:
version: $(node -p "require('./packages/rtm/package.json').version")
run: |
if ${{ inputs. }} ; then
version=$(node -p "require('./package.json').version")
fi
version=$(node -p "require('./package.json').version")
echo "version=${version}" >> "$GITHUB_ENV"
echo "version=${version}" >> $GITHUB_ENV
- name: Update CHANGELOG.md and Create Release
run: |
Expand All @@ -77,7 +82,7 @@ jobs:
if: ${{ inputs.cdn }}
env:
UPLOAD_CDN_INTERNAL_JENKINS_HOOK: ${{ secrets.UPLOAD_CDN_INTERNAL_JENKINS_HOOK }}
uses: ./.github/actions/cdn
uses: AgoraIO-Extensions/actions/.github/actions/upload_cdn_internal@cdn-ci
with:
upload_cdn_internal_jenkins_hook: ${{ env.UPLOAD_CDN_INTERNAL_JENKINS_HOOK }}
url: ${{ env.GITHUB_RELEASE_DOWNLOAD_URL }}
Expand Down

0 comments on commit fc537fc

Please sign in to comment.