Browse Source

:pencil2: Fix typo in CI

Gabriele Picco 1 year ago
parent
commit
3562907644
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/publish-packages.yml

+ 3 - 3
.github/workflows/publish-packages.yml

@@ -127,7 +127,7 @@ jobs:
           export node_version="${{ env.RELEASE_VERSION }}"
           # set the package name
           # note: use 'windows' as OS name instead of 'win32'
-          if [ "${{ matrix.build.OS }}" = "windows-2022" ]; then
+          if [ "${{ matrix.build.OS }}" = "windows-latest" ]; then
             export node_pkg="${bin}-cli-windows-${node_arch}"
           else
             export node_pkg="${bin}-cli-${node_os}-${node_arch}"
@@ -140,7 +140,7 @@ jobs:
           cat "${node_pkg}/package.json"
           # copy the binary into the package
           # note: windows binaries has '.exe' extension
-          if [ "${{ matrix.build.OS }}" = "windows-2022" ]; then
+          if [ "${{ matrix.build.OS }}" = "windows-latest" ]; then
             bin="${bin}.exe"
           fi
           echo "bin_name=${bin}" >> $GITHUB_ENV
@@ -149,7 +149,7 @@ jobs:
           
           # Create the release bin file
           release_name="bolt-cli-${{ matrix.build.NAME }}"
-          if [ "${{ matrix.build.OS }}" = "windows-2022" ]; then
+          if [ "${{ matrix.build.OS }}" = "windows-latest" ]; then
             release_name="${release_name}.exe"
           fi
           echo "release_name=${release_name}" >> $GITHUB_ENV