Testing fix to release Action (#375)
* Testing fix to release Action * try upload blob * try az upload-batch * fix syntax * revert build, update release as needed * Update release.yml --------- Co-authored-by: Ohad Bitton <ohbitton@microsoft.com> Co-authored-by: ohad bitton <32278684+ohadbitt@users.noreply.github.com>
This commit is contained in:
Родитель
4867fb1c45
Коммит
8c99dc4a4f
|
@ -93,14 +93,20 @@ jobs:
|
|||
staging/kusto-ingest-${{ steps.get_version.outputs.VERSION }}.pom
|
||||
continue-on-error: true
|
||||
if: ${{ github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.github_release == 'true') }}
|
||||
- uses: LanceMcCarthy/Action-AzureBlobUpload@v3
|
||||
name: Uploading to Azure storage
|
||||
- name: Azure login for azuresdkpartnerdrops SA
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
connection_string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING}}
|
||||
container_name: ${{ secrets.AZURE_STORAGE_CONTAINER}}
|
||||
source_folder: staging
|
||||
destination_folder: kusto/java/${{ steps.get_version.outputs.VERSION }}
|
||||
delete_if_exists: true
|
||||
client-id: ${{ secrets.AZURESDKPARTNERDROPS_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
subscription-id:
|
||||
${{ secrets.AZURESDKPARTNERDROPS_SUBSCRIPTION_ID }}
|
||||
- name: Upload file to Blob Storage
|
||||
run: |
|
||||
az storage blob upload-batch \
|
||||
--account-name ${{ secrets.AZURE_RELEASE_STORAGE_ACCOUNT }} \
|
||||
--destination ${{ secrets.AZURE_STORAGE_CONTAINER }}/kusto/java/${{ steps.get_version.outputs.VERSION }} \
|
||||
--source staging \
|
||||
--auth-mode login
|
||||
if: ${{ github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.upload_to_azure == 'true') }}
|
||||
- name: Trigger pipelines release
|
||||
uses: jacopocarlini/azure-pipelines@v1.3
|
||||
|
|
Загрузка…
Ссылка в новой задаче