Skip to content

Commit

Permalink
Merge pull request #44 from ternaustralia/edmond/update-gh-actions
Browse files Browse the repository at this point in the history
Update GitHub Actions versions to latest
  • Loading branch information
edmondchuc authored Jan 4, 2023
2 parents d264704 + c439d92 commit f01c72e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# Required by WyriHaximus/github-action-get-previous-tag
fetch-depth: 0
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Get git commit hash
id: commit-hash
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ${{ env.IMAGE_NAME }}
tags: type=sha
Expand All @@ -80,14 +80,14 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build container image and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
# Building for arm requires building wheels, takes too long.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build project
run: python setup.py bdist_wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit f01c72e

Please sign in to comment.