Skip to content

Commit 7efdc95

Browse files
committed
fixes to workflow
1 parent 4e4c898 commit 7efdc95

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ on:
1010

1111
jobs:
1212
test:
13-
if: github.ref != 'refs/heads/master'
13+
if: github.ref != 'refs/heads/main'
1414
runs-on: ubuntu-latest
1515
container:
1616
image: python:3.8-buster
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Set up Python
2222
uses: actions/setup-python@v4
@@ -30,20 +30,19 @@ jobs:
3030
run: mkdocs build --strict --verbose --site-dir test
3131

3232
- name: Upload test artifacts
33-
if: always()
34-
uses: actions/upload-artifact@v3
33+
uses: actions/upload-artifact@v4
3534
with:
3635
name: test
3736
path: test
3837

3938
deploy:
40-
if: github.ref == 'refs/heads/master'
39+
if: github.ref == 'refs/heads/main'
4140
runs-on: ubuntu-latest
4241
container:
4342
image: python:3.8-buster
4443
steps:
4544
- name: Checkout code
46-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4746

4847
- name: Set up Python
4948
uses: actions/setup-python@v4
@@ -57,7 +56,7 @@ jobs:
5756
run: mkdocs build --strict --verbose
5857

5958
- name: Upload deployment artifacts
60-
uses: actions/upload-artifact@v3
59+
uses: actions/upload-artifact@v4
6160
with:
6261
name: public
6362
path: public

0 commit comments

Comments
 (0)