File tree Expand file tree Collapse file tree 6 files changed +17
-17
lines changed
actions/install-from-artifact Expand file tree Collapse file tree 6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ inputs:
1010 required : false
1111 default : ' '
1212 os :
13- description : ' Operating system (Windows, Linux, macOS )'
13+ description : ' Operating system (windows, linux, macos )'
1414 required : false
15- default : ' Linux '
15+ default : ' linux '
1616 python-version :
1717 description : ' Python version to use'
1818 required : false
@@ -29,12 +29,12 @@ runs:
2929 uses : astral-sh/setup-uv@v6
3030
3131 - name : Upgrade PIP
32- if : inputs.os != 'Windows '
32+ if : inputs.os != 'windows '
3333 shell : bash
3434 run : pip install --user --upgrade pip
3535
3636 - name : Upgrade PIP (Windows)
37- if : inputs.os == 'Windows '
37+ if : inputs.os == 'windows '
3838 shell : bash
3939 run : python.exe -m pip install --user --upgrade pip
4040
4545 path : dist/
4646
4747 - name : Install from wheel (Unix)
48- if : inputs.os != 'Windows '
48+ if : inputs.os != 'windows '
4949 shell : bash
5050 run : |
5151 PACKAGE=$(ls dist/*.whl)
5757 fi
5858
5959 - name : Install from wheel (Windows)
60- if : inputs.os == 'Windows '
60+ if : inputs.os == 'windows '
6161 shell : pwsh
6262 run : |
6363 $PACKAGE = (Get-ChildItem dist/*.whl).FullName
Original file line number Diff line number Diff line change 1818 git fetch upstream
1919
2020 - name : Install uv
21- uses : astral-sh/setup-uv@v3
21+ uses : astral-sh/setup-uv@v6
2222 with :
2323 version : " latest"
2424
Original file line number Diff line number Diff line change 55 inputs :
66 python_version :
77 description : " Python version to use for building"
8- required : true
8+ required : false
99 type : string
1010 default : " 3.9"
1111 artifact_out :
Original file line number Diff line number Diff line change 3838 with :
3939 artifact_in : ${{ inputs.artifact_in }}
4040 python-version : ${{ matrix.python-version }}
41- os : ${{ runner.os }}
41+ os : ${{ runner.os == 'Linux' && 'linux' || runner.os == 'macOS' && 'macos' || 'windows' }}
4242 - name : Install project and test cli
4343 run : |
4444 dynaconf init -v FOO=running_on_ci -y
6767 - name : Run tests
6868 run : make citest
6969 - name : Publish Junit Test Results
70- uses : EnricoMi/publish-unit-test-result-action@v1
70+ uses : EnricoMi/publish-unit-test-result-action@v2
7171 continue-on-error : true
7272 if : always()
7373 with :
@@ -122,7 +122,7 @@ jobs:
122122 artifact_in : ${{ inputs.artifact_in }}
123123 python-version : ${{ matrix.python-version }}
124124 dependencies : test
125- os : linux
125+ os : ${{ matrix.os == 'macos-latest' && 'macos' || ' linux' }}
126126 - name : Run functional tests
127127 run : make test_functional
128128
Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ jobs:
2222 DIFF_STAT=$(git diff --stat | tail -1 | xargs) # xargs trims leading spaces
2323 EXPECTED="1 file changed, 1 insertion(+), 1 deletion(-)"
2424 if [ "$DIFF_STAT" = "$EXPECTED" ]; then
25- echo "skip_pr=true" >> $GITHUB_OUTPUT
25+ echo "skip_pr=true" >> " $GITHUB_OUTPUT"
2626 else
27- echo "skip_pr=false" >> $GITHUB_OUTPUT
27+ echo "skip_pr=false" >> " $GITHUB_OUTPUT"
2828 fi
2929
3030 - name : Create a PR
3131 if : steps.check_diff.outputs.skip_pr == 'false'
32- uses : peter-evans/create-pull-request@v3
32+ uses : peter-evans/create-pull-request@v7
3333 with :
3434 commit-message : Update Contributors
3535 title : " [automated] Update Contributors File"
Original file line number Diff line number Diff line change 77 test :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/setup-python@v6
10+ - uses : actions/setup-python@v5
1111 with :
1212 python-version : " 3.11"
1313
14- - uses : actions/checkout@v5
14+ - uses : actions/checkout@v4
1515 with :
1616 fetch-depth : 0
1717
1818 - name : Checkout galaxy
19- uses : actions/checkout@v5
19+ uses : actions/checkout@v4
2020 with :
2121 repository : ansible/galaxy_ng
2222 path : galaxy_repo
You can’t perform that action at this time.
0 commit comments