Skip to content

Commit

Permalink
Update Github actions versions (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
nappex committed Mar 29, 2022
1 parent 83e933d commit a56b7c4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/freezeyt_blog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ jobs:
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: '3.8'
cache: 'pip'
cache-dependency-path: |
setup.cfg
pyproject.toml
- name: Install dependencies
run: |
Expand All @@ -39,9 +43,9 @@ jobs:
- if: ${{ github.ref == 'refs/heads/master' }}
name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: freezeyt_blog/build # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: freezeyt_blog/build # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
tox_test:
name: Tox env
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run Tox test
id: test
uses: fedora-python/tox-github-action@master
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ jobs:
os: [macos-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
cache: 'pip'
cache-dependency-path: |
setup.cfg
pyproject.toml
- name: Install dependecies
run: |
Expand Down

0 comments on commit a56b7c4

Please sign in to comment.