diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dd5630c..679fd67 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,8 +19,9 @@ jobs: Z3_VERSION: z3-4.8.14 strategy: matrix: - ghidra-git: - ghidraVersion: "master" + # Disabled because we can't even build ghidra master with gradle 6.9.2 + #ghidra-git: + # ghidraVersion: "master" ghidra1015: ghidraUrl: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_10.1.5_build/ghidra_10.1.5_PUBLIC_20220726.zip" ghidraVersion: "10.1.5" @@ -179,7 +180,7 @@ jobs: - script: gradle --stop - publish: dist/ - task: GitHubRelease@0 - condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main')) + condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.Reason'], 'Schedule')) inputs: gitHubConnection: gh repositoryName: $(Build.Repository.Name) @@ -188,7 +189,7 @@ jobs: tag: ghidra-$(ghidraVersion) continueOnError: true - task: DownloadSecureFile@1 - condition: eq(variables['Build.SourceBranchName'], 'main') + condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.Reason'], 'Schedule')) name: deployKey inputs: secureFile: 'deploy.key' @@ -203,13 +204,13 @@ jobs: git remote add ssh-origin git@github.com:sei-eschwartz/kaiju.git git push --delete ssh-origin ghidra-$(ghidraVersion) rm -f $(deployKey.secureFilePath) - condition: eq(variables['Build.SourceBranchName'], 'main') + condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.Reason'], 'Schedule')) env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock continueOnError: true displayName: Delete old git tag ghidra-$(ghidraVersion) - task: GitHubRelease@0 - condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main')) + condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.Reason'], 'Schedule')) inputs: gitHubConnection: gh repositoryName: $(Build.Repository.Name)