Skip to content

Commit

Permalink
FWB: release update
Browse files Browse the repository at this point in the history
  • Loading branch information
jvhoof committed Sep 4, 2024
1 parent 9d2e1b4 commit f4219a9
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/fwb-azure-marketplace-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,13 @@ jobs:
$content | ConvertTo-Json -depth 100 | Out-File "${dest}/createUiDefinition.json"
"" | Out-File -Append "${dest}/createUiDefinition.json"
Compress-Archive -Path "./releases/${buildingBlock}/*" -DestinationPath "./releases/${env:PRODUCTL}-${buildingBlock}-azure-templates.zip"
Compress-Archive -Path "./releases/${buildingBlock}/*" -DestinationPath "./releases/${env:PRODUCTL}-$($buildingBlock.ToLower())-azure-templates.zip"
}
Compress-Archive -Path "./releases/*" -DestinationPath "./releases/${env:PRODUCTL}-azure-templates.zip"
azPSVersion: "latest"

- name: upload-templates-zip
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{secrets.GITHUB_TOKEN}}
file: "./releases/${{env.PRODUCTL}}-azure-templates.zip"
asset_name: "${{env.PRODUCTL}}-azure-templates.zip"
tag: ${{github.ref}}
overwrite: true
body: "${{env.PRODUCT}} Azure Marketplace Release"

- name: Upload release zips
shell: bash
run: |
gh release upload ${{github.ref_name}} ./releases/${{env.PRODUCTL}}-*-azure-templates.zip
gh release upload ${{github.ref_name}} ./releases/${{env.PRODUCTL}}-*.zip
env:
GITHUB_TOKEN: ${{ github.TOKEN }}

0 comments on commit f4219a9

Please sign in to comment.