File tree Expand file tree Collapse file tree 8 files changed +36
-4
lines changed
Expand file tree Collapse file tree 8 files changed +36
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Remove Label
2+ on :
3+ pull_request_target :
4+ types : [labeled]
5+ # Ensures that only the latest commit is running for each PR at a time.
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }}
8+ cancel-in-progress : true
9+ jobs :
10+ Remove-Label :
11+ if : contains(github.event.pull_request.labels.*.name, 'safe to test')
12+ name : Remove label
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Remove 'safe to test'
16+ uses : actions-ecosystem/action-remove-labels@v1
17+ with :
18+ labels : " safe to test"
Original file line number Diff line number Diff line change 3333 - name : Install Conan
3434 run : pip install "conan<2" -q
3535
36+ - uses : actions/setup-java@v4
37+ with :
38+ distribution : ' temurin'
39+ java-version : ' 11'
40+
41+ - name : Install Mono
42+ run : |
43+ sudo apt update
44+ sudo apt install mono-complete
45+ mono --version
46+ if : ${{ matrix.os == 'ubuntu' }}
47+
3648 - name : Install JFrog CLI
3749 run : curl -fL https://install-cli.jfrog.io | sh
3850
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ To install the *[JFrog Extension](https://marketplace.visualstudio.com/items?ite
8888
8989### Installing the Build Agent
9090
91- To run the JFrog tasks, the build agents use three tools:
91+ To run the JFrog tasks, the build agents use the following tools:
9292
9393* JFrog CLI: Runs all the JFrog tasks.
9494* Maven Extractor (Used by the [ JFrog Maven] ( #jfrog-maven-task ) task)
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const fileName = getCliExecutableName();
1010const jfrogCliToolName = 'jf' ;
1111const cliPackage = 'jfrog-cli-' + getArchitecture ( ) ;
1212const jfrogFolderPath = encodePath ( join ( tl . getVariable ( 'Agent.ToolsDirectory' ) || '' , '_jf' ) ) ;
13- const defaultJfrogCliVersion = '2.71.3 ' ;
13+ const defaultJfrogCliVersion = '2.74.0 ' ;
1414const minCustomCliVersion = '2.10.0' ;
1515const minSupportedStdinSecretCliVersion = '2.36.0' ;
1616const minSupportedServerIdEnvCliVersion = '2.37.0' ;
Original file line number Diff line number Diff line change 99 "dependencies" : {
1010 "@jfrog/tasks-utils" : " file:../jfrog-tasks-utils/jfrog-tasks-utils-1.0.0.tgz" ,
1111 "azure-pipelines-task-lib" : " 4.12.0" ,
12- "fs-extra" : " ^ 11.1.1 " ,
12+ "fs-extra" : " 11.2.0 " ,
1313 "js-yaml" : " ^4.1.0" ,
1414 "path" : " ^0.12.7"
1515 },
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const TEST_NAME = testUtils.getTestName(__dirname);
55let inputs = {
66 command : 'custom' ,
77 customCommand : 'restore' ,
8- arguments : '"--build-name=DotNET Test" "--build-number=7"' ,
8+ arguments : '"--build-name=DotNET Test" "--build-number=7" "--allow-insecure-connections" ' ,
99 rootPath : join ( testUtils . getLocalTestDir ( TEST_NAME ) ) ,
1010 targetResolveRepo : testUtils . getRepoKeys ( ) . nugetVirtualRepo ,
1111 nugetProtocolVersion : 'v3' ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ let inputs = {
1111 packagesDirectory : join ( testUtils . getLocalTestDir ( TEST_NAME ) , 'packages' ) ,
1212 verbosityRestore : 'Minimal' ,
1313 collectBuildInfo : true ,
14+ arguments : '"--allow-insecure-connections"' ,
1415} ;
1516
1617testUtils . copyTestFilesToTestWorkDir ( TEST_NAME , 'restore' ) ;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ let inputs = {
1111 packagesDirectory : join ( testUtils . getLocalTestDir ( TEST_NAME ) , 'packages' ) ,
1212 verbosityRestore : 'Detailed' ,
1313 collectBuildInfo : true ,
14+ arguments : '"--allow-insecure-connections"' ,
1415} ;
1516
1617testUtils . copyTestFilesToTestWorkDir ( TEST_NAME , 'restore' ) ;
You can’t perform that action at this time.
0 commit comments