Skip to content

[603] fix release workflow #6

[603] fix release workflow

[603] fix release workflow #6

Workflow file for this run

name: Test Artifact Sharing
on:
workflow_dispatch:
pull_request:
branches: [ master ]
jobs:
publish-ui-dist:
name: Publish UI Distribution
runs-on: 'windows-latest'
outputs:
artifact_name: ${{ steps.win-ui-create-artifact.outputs.artifact_name }}
steps:
- uses: actions/checkout@v4
- name: Publish UI Distribution
uses: ./.github/actions/test-action
id: win-ui-create-artifact
create-gh-release:
runs-on: ubuntu-latest
needs: [publish-ui-dist]
steps:
- uses: actions/download-artifact@v4
with:
name: ${{ needs.publish-ui-dist.outputs.artifact_name }}
path: ${{ github.workspace }}/downloaded
- run: ls ${{ github.workspace }}/downloaded
shell: pwsh
- name: Create Zip for Win UI Release Artifact
uses: vimtor/[email protected]
with:
files: /downloaded/ #relative to gh workspace
dest: ${{ github.workspace }}/dist/ui_win_${{ github.event.inputs.version }}.zip
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: my_zipped_artifact
path: ${{ github.workspace }}/dist/ui_win_${{ github.event.inputs.version }}.zip