Skip to content

Commit

Permalink
Merge branch 'dev' into rc
Browse files Browse the repository at this point in the history
  • Loading branch information
C0kkie committed Dec 20, 2023
2 parents 0040385 + 41b5e27 commit b10889d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
runs-on: ubuntu-22.04
needs: [build-linux, build-windows]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Download windows module dll
uses: actions/download-artifact@v3
with:
Expand All @@ -84,6 +89,8 @@ jobs:
TAG=${GITHUB_REF/refs\/tags\//}
echo "BRANCH=${TAG/\/*}" >> $GITHUB_OUTPUT
echo "VERSION=${TAG/*\/}" >> $GITHUB_OUTPUT
cd ./deps/cpp-sdk
echo "SDK_VERSION=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Create release
id: create_release
Expand Down Expand Up @@ -128,7 +135,7 @@ jobs:
run: npm i @altmp/upload-tool@latest

- name: Upload windows files to CDN
run: npx alt-upload dist-windows js-bytecode-module/$BRANCH/x64_win32 $VERSION
run: npx alt-upload dist-windows js-bytecode-module/$BRANCH/x64_win32 $VERSION $SDK_VERSION
env:
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -139,6 +146,7 @@ jobs:
CF_CACHE_PURGE_URL: ${{ secrets.CF_CACHE_PURGE_URL }}
BRANCH: ${{ steps.version.outputs.BRANCH }}
VERSION: ${{ steps.version.outputs.VERSION }}
SDK_VERSION: ${{ steps.version.outputs.SDK_VERSION }}

- name: Upload linux files to CDN
run: npx alt-upload dist-linux js-bytecode-module/$BRANCH/x64_linux $VERSION
Expand Down

0 comments on commit b10889d

Please sign in to comment.