Skip to content

Commit

Permalink
Turn windows staging build back on again
Browse files Browse the repository at this point in the history
  • Loading branch information
lucksus committed Nov 27, 2024
1 parent 7c123b8 commit 0cf0648
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/publish_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
strategy:
fail-fast: false
matrix:
#platform: [GH-hosted-ubuntu, macos-latest, windows-latest]
platform: [GH-hosted-ubuntu, macos-latest]
platform: [GH-hosted-ubuntu, macos-latest, windows-latest]
#platform: [GH-hosted-ubuntu, macos-latest]
node-version: [18.x]

needs:
Expand Down Expand Up @@ -350,6 +350,30 @@ jobs:
# asset_name: ad4m-windows-${{ steps.extract_version.outputs.version }}-x64.exe
# asset_content_type: application/octet-stream

- name: Upload Release AD4M CLI client Windows Binary
id: upload-release-windows-ad4m-cli-client-binary
if: matrix.platform == 'windows-latest'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: D:\a\ad4m\ad4m\target\release\ad4m-x64.exe
asset_name: ad4m-cli-client-windows-${{ steps.extract_version.outputs.version }}-x64.exe
asset_content_type: application/octet-stream

- name: Upload Release AD4M CLI executor Windows Binary
id: upload-release-windows-ad4m-cli-executor-binary
if: matrix.platform == 'windows-latest'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: D:\a\ad4m\ad4m\target\release\ad4m-executor-x64.exe
asset_name: ad4m-cli-executor-windows-${{ steps.extract_version.outputs.version }}-x64.exe
asset_content_type: application/octet-stream

npm-publish:
runs-on: GH-hosted-ubuntu
steps:
Expand Down

0 comments on commit 0cf0648

Please sign in to comment.