File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ jobs:
1313 AWS_REGION : us-east-1
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 - name : Set up Java & publishing credentials
18- uses : actions/setup-java@v1
18+ uses : actions/setup-java@v4
1919 with :
20- java-version : 17
20+ java-version : ' 17'
21+ distribution : ' corretto'
2122 server-id : sonatype-nexus-staging # Value of the distributionManagement/repository/id field of the pom.xml
2223 server-username : SONATYPE_USERNAME # env variable for username in deploy
2324 server-password : SONATYPE_PASSWORD # env variable for token in deploy
Original file line number Diff line number Diff line change @@ -18,15 +18,16 @@ jobs:
1818 java : [17]
1919 runs-on : ubuntu-latest
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v4
2222 - name : Set up Python ${{ matrix.python }}
23- uses : actions/setup-python@v2
23+ uses : actions/setup-python@v5
2424 with :
2525 python-version : ${{ matrix.python }}
2626 - name : Set up Java ${{ matrix.java }}
27- uses : actions/setup-java@v1
27+ uses : actions/setup-java@v4
2828 with :
2929 java-version : ${{ matrix.java }}
30+ distribution : ' corretto'
3031 - name : Install python dependencies
3132 run : |
3233 pip install --upgrade 'attrs==19.2.0' wheel -r https://raw.githubusercontent.com/aws-cloudformation/cloudformation-cli/master/requirements.txt
Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ jobs:
1010 if : endsWith(github.ref, '-plugin')
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
13+ - uses : actions/checkout@v4
1414 - name : Set up Python 3.8
15- uses : actions/setup-python@v2
15+ uses : actions/setup-python@v5
1616 with :
17- python-version : 3.8
17+ python-version : ' 3.8'
1818 - name : Install dependencies
1919 run : |
2020 pip install --upgrade wheel twine
2121 - name : Package project
2222 run : |
2323 python setup.py sdist bdist_wheel
2424 - name : Publish distribution 📦 to PyPI (If triggered from release)
25- uses : pypa/gh-action-pypi-publish@master
25+ uses : pypa/gh-action-pypi-publish@release/v1
2626 with :
2727 password : ${{ secrets.PYPI_API_KEY_CLOUDFORMATION_CLI_JAVA_PLUGIN }}
You can’t perform that action at this time.
0 commit comments