Skip to content

Commit

Permalink
Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Jun 27, 2024
1 parent 8f8d6a8 commit ad0adbd
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
# experimental: true
steps:
# Configures the python version
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Print Versions
run: |
python --version
git --version
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Required Packages
run: sudo apt-get install cmake libssl-dev libssh2-1-dev
- name: Install Python Dependencies
Expand Down Expand Up @@ -55,9 +55,9 @@ jobs:
python-version: [3.9]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Pyinstaller
Expand All @@ -69,7 +69,7 @@ jobs:
# Build wheel and source package
poetry build
- name: Upload Wheel and Source
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel-and-source
path: |
Expand All @@ -85,9 +85,9 @@ jobs:
os: ['windows-2022', 'ubuntu-22.04', 'macos-12']
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
#- name: Patch Windows requirements
Expand All @@ -112,7 +112,7 @@ jobs:
if: ${{ startsWith(matrix.os, 'windows') }}
run: cp ./dist/run.exe ./dist/quit-windows.exe
- name: Upload Binary Releases 🚀
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binary-releases
path: |
Expand All @@ -125,35 +125,35 @@ jobs:
needs: build
steps:
- name: Download build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wheel-and-source
path: dist
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
aksw/quitstore
ghcr.io/aksw/quitstore
- name: Build and push for many architectures
id: docker_build_tagged
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name != 'pull_request' }}
platforms: 'linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le'
Expand Down

0 comments on commit ad0adbd

Please sign in to comment.