Skip to content

Commit ad0adbd

Browse files
committed
Update action versions
1 parent 8f8d6a8 commit ad0adbd

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/build.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
# experimental: true
1515
steps:
1616
# Configures the python version
17-
- uses: actions/setup-python@v4
17+
- uses: actions/setup-python@v5
1818
with:
1919
python-version: ${{ matrix.python }}
2020
- name: Print Versions
2121
run: |
2222
python --version
2323
git --version
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Install Required Packages
2626
run: sudo apt-get install cmake libssl-dev libssh2-1-dev
2727
- name: Install Python Dependencies
@@ -55,9 +55,9 @@ jobs:
5555
python-version: [3.9]
5656
fail-fast: false
5757
steps:
58-
- uses: actions/checkout@v3
58+
- uses: actions/checkout@v4
5959
- name: Set up Python ${{ matrix.python-version }}
60-
uses: actions/setup-python@v4
60+
uses: actions/setup-python@v5
6161
with:
6262
python-version: ${{ matrix.python-version }}
6363
- name: Pyinstaller
@@ -69,7 +69,7 @@ jobs:
6969
# Build wheel and source package
7070
poetry build
7171
- name: Upload Wheel and Source
72-
uses: actions/upload-artifact@v3
72+
uses: actions/upload-artifact@v4
7373
with:
7474
name: wheel-and-source
7575
path: |
@@ -85,9 +85,9 @@ jobs:
8585
os: ['windows-2022', 'ubuntu-22.04', 'macos-12']
8686
fail-fast: false
8787
steps:
88-
- uses: actions/checkout@v3
88+
- uses: actions/checkout@v4
8989
- name: Set up Python ${{ matrix.python-version }}
90-
uses: actions/setup-python@v4
90+
uses: actions/setup-python@v5
9191
with:
9292
python-version: ${{ matrix.python-version }}
9393
#- name: Patch Windows requirements
@@ -112,7 +112,7 @@ jobs:
112112
if: ${{ startsWith(matrix.os, 'windows') }}
113113
run: cp ./dist/run.exe ./dist/quit-windows.exe
114114
- name: Upload Binary Releases 🚀
115-
uses: actions/upload-artifact@v3
115+
uses: actions/upload-artifact@v4
116116
with:
117117
name: binary-releases
118118
path: |
@@ -125,35 +125,35 @@ jobs:
125125
needs: build
126126
steps:
127127
- name: Download build
128-
uses: actions/download-artifact@v3
128+
uses: actions/download-artifact@v4
129129
with:
130130
name: wheel-and-source
131131
path: dist
132132
- name: Set up QEMU
133-
uses: docker/setup-qemu-action@v2
133+
uses: docker/setup-qemu-action@v3
134134
- name: Set up Docker Buildx
135-
uses: docker/setup-buildx-action@v2
135+
uses: docker/setup-buildx-action@v3
136136
- name: Login to DockerHub
137-
uses: docker/login-action@v2
137+
uses: docker/login-action@v3
138138
with:
139139
username: ${{ secrets.DOCKERHUB_USERNAME }}
140140
password: ${{ secrets.DOCKERHUB_TOKEN }}
141141
- name: Login to GitHub Container Registry
142-
uses: docker/login-action@v2
142+
uses: docker/login-action@v3
143143
with:
144144
registry: ghcr.io
145145
username: ${{ github.actor }}
146146
password: ${{ secrets.GITHUB_TOKEN }}
147147
- name: Extract metadata (tags, labels) for Docker
148148
id: meta
149-
uses: docker/metadata-action@v4
149+
uses: docker/metadata-action@v5
150150
with:
151151
images: |
152152
aksw/quitstore
153153
ghcr.io/aksw/quitstore
154154
- name: Build and push for many architectures
155155
id: docker_build_tagged
156-
uses: docker/build-push-action@v4
156+
uses: docker/build-push-action@v5
157157
with:
158158
push: ${{ github.event_name != 'pull_request' }}
159159
platforms: 'linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le'

0 commit comments

Comments
 (0)