Skip to content

Commit bcf4dd7

Browse files
authored
Update CI action versions.
1 parent c14135d commit bcf4dd7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/main.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Check out source code
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v3
1010
with:
1111
fetch-depth: 0
1212
submodules: true
1313
- name: Set up Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v3
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install setuptools_scm # for setup.py --version
1818
sudo apt-get install flex bison ccache
1919
- name: Set up ccache
20-
uses: actions/cache@v1
20+
uses: actions/cache@v3
2121
with:
2222
path: ~/.ccache
2323
key: ${{ runner.os }}-
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
pip wheel -e . -w dist/
3030
- name: Upload binary wheel artifact
31-
uses: actions/upload-artifact@v2
31+
uses: actions/upload-artifact@v3
3232
with:
3333
name: wheel
3434
path: dist/amaranth_yosys-*.whl
@@ -40,20 +40,20 @@ jobs:
4040
needs: build
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/download-artifact@v2
43+
- uses: actions/download-artifact@v3
4444
with:
4545
name: wheel
4646
path: dist/
4747
- name: Publish wheels to Test PyPI
4848
if: github.event_name == 'push' && github.event.ref == 'refs/heads/develop'
49-
uses: pypa/gh-action-pypi-publish@master
49+
uses: pypa/gh-action-pypi-publish@release/v1
5050
with:
5151
user: __token__
5252
password: ${{ secrets.test_pypi_token }}
5353
repository_url: https://test.pypi.org/legacy/
5454
- name: Publish wheels to PyPI
5555
if: github.event_name == 'push' && github.event.ref == 'refs/heads/release'
56-
uses: pypa/gh-action-pypi-publish@master
56+
uses: pypa/gh-action-pypi-publish@release/v1
5757
with:
5858
user: __token__
5959
password: ${{ secrets.pypi_token }}

0 commit comments

Comments
 (0)