diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0f5a3dc..85ae7ff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -138,18 +138,20 @@ jobs: - name: Create release and upload artifacts if: startsWith(github.ref, 'refs/heads/') + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - sudo apt install -y fuse - wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage - chmod +x pyuploadtool-x86_64.AppImage - ./pyuploadtool-x86_64.AppImage \ - **build/*.node - **build/*.dll + with: + # note you'll typically need to create a personal access token + # with permissions to create releases in the other repo + name: Continuous build + tag_name: continuous + files: | + **build/*.node + **build/*.dll - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: # note you'll typically need to create a personal access token diff --git a/tools/windows/ci.ps1 b/tools/windows/ci.ps1 index b63bae0..2a78cb9 100644 --- a/tools/windows/ci.ps1 +++ b/tools/windows/ci.ps1 @@ -13,7 +13,7 @@ try cmake --build "$root_dir/build" --config Release --target QQNT -- mkdir "$root_dir/tmp/build" mv "$root_dir/build/nt_native.node" "$root_dir/tmp/build/yui-native-win32-$arch-$tag.node" - mv "$root_dir/build/QQNT.dll" "$root_dir/tmp/build/node-win32-$arch-$tag.dll" + mv "$root_dir/build/QQNT.dll" "$root_dir/tmp/build/qqnt-win32-$arch-$tag.dll" }catch{ exit 1 } \ No newline at end of file