Skip to content

Commit

Permalink
fix windows packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Haard30 committed Jun 21, 2024
1 parent 5e2a55c commit f94a5b2
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/release-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,13 @@ extends:
MaxConcurrency: '50'
MaxRetryAttempts: '5'
PendingAnalysisWaitTimeoutMinutes: '5'
- task: PowerShell@2
displayName: 'List files'
inputs:
workingDirectory: $(Pipeline.Workspace)
targetType: 'inline'
script: |
Get-ChildItem -Path . -Recurse | Select-Object FullName
- task: ExtractFiles@1
displayName: Extract signed artifacts osx
condition: startsWith('${{ config.runtime }}', 'osx')
Expand Down Expand Up @@ -277,16 +284,16 @@ extends:
outputs:
- ${{ each config in parameters.buildConfigs }}:
- output: pipelineArtifact
artifactName: azureauth-${{ parameters.version }}-${{ config.runtime }}.${{ config.archiveExt }}
targetPath: $(Pipeline.Workspace)/azureauth-${{ parameters.version }}-${{ config.runtime }}.${{ config.archiveExt }}
artifactName: azureauth-${{ parameters.version }}-${{ config.runtime }}-packaged.${{ config.archiveExt }}
targetPath: $(Pipeline.Workspace)/azureauth-${{ parameters.version }}-${{ config.runtime }}-packaged.${{ config.archiveExt }}
steps:
- task: ArchiveFiles@2
displayName: Create win10-x64 archive
inputs:
rootFolderOrFile: $(Pipeline.Workspace)/azureauth-${{ parameters.version }}-win10-x64
rootFolderOrFile: $(Pipeline.Workspace)/azureauth-${{ parameters.version }}-win10-x64-signed
includeRootFolder: false
archiveType: zip
archiveFile: azureauth-${{ parameters.version }}-win10-x64.zip
archiveFile: azureauth-${{ parameters.version }}-win10-x64-packaged.zip
- task: Bash@3
displayName: Prepare osx-x64 executables
inputs:
Expand All @@ -302,21 +309,21 @@ extends:
rootFolderOrFile: $(Pipeline.Workspace)/azureauth-${{ parameters.version }}-osx-x64
includeRootFolder: false
archiveType: tar
archiveFile: azureauth-${{ parameters.version }}-osx-x64.tar
archiveFile: azureauth-${{ parameters.version }}-osx-x64-packaged.tar
- task: Bash@3
displayName: Prepare osx-arm64 executables
inputs:
targetType: inline
script: |
cd ../azureauth-${{ parameters.version }}-osx-arm64
cd ../azureauth-${{ parameters.version }}-osx-arm64-packaged
chmod +x azureauth createdump *.dylib
- task: ArchiveFiles@2
displayName: Create osx-arm64 archive
inputs:
rootFolderOrFile: $(Pipeline.Workspace)/azureauth-${{ parameters.version }}-osx-arm64
includeRootFolder: false
archiveType: tar
archiveFile: azureauth-${{ parameters.version }}-osx-arm64.tar
archiveFile: azureauth-${{ parameters.version }}-osx-arm64-packaged.tar

# - stage: release
# displayName: Release
Expand Down

0 comments on commit f94a5b2

Please sign in to comment.