Skip to content

Commit 891b257

Browse files
authored
Update GH action to fix deprecation warnings (#124)
1 parent 12bfdd5 commit 891b257

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
name: ci
22

3-
on: [push]
3+
on:
4+
workflow_dispatch: # Start a workflow
5+
push:
46

57
jobs:
68
build:
79
runs-on: ubuntu-latest
810

911
steps:
1012
- name: Checkout repository
11-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1214

1315
- name: Set up Docker Buildx
14-
uses: docker/setup-buildx-action@v2
16+
uses: docker/setup-buildx-action@v3
1517

1618
- name: Build
17-
uses: docker/build-push-action@v3
19+
uses: docker/build-push-action@v6
1820
with:
1921
context: .
2022
tags: retro-go:latest
@@ -27,7 +29,7 @@ jobs:
2729
docker run --rm -v $(pwd)/build:/build retro-go:latest sh -c "cp /app/*.fw /build"
2830
2931
- name: Upload artifacts
30-
uses: actions/upload-artifact@v3
32+
uses: actions/upload-artifact@v4
3133
with:
3234
name: binaries
3335
path: build/*.fw

0 commit comments

Comments
 (0)