Skip to content

Commit c221d5b

Browse files
authored
Merge pull request #66 from FigureTechnologies/migrate-shared-actions-v2
Migrate to shared-actions `v2`
2 parents 82f9d17 + 4545a28 commit c221d5b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020

2121
- name: Get Version
2222
run: |
@@ -58,7 +58,7 @@ jobs:
5858
if: github.event_name == 'release'
5959

6060
- name: Upload server Artifact
61-
uses: actions/upload-artifact@v2
61+
uses: actions/upload-artifact@v4
6262
with:
6363
name: server
6464
path: server/build/libs/*.jar
@@ -71,7 +71,7 @@ jobs:
7171
if: github.event_name == 'release'
7272

7373
steps:
74-
- uses: actions/checkout@v2
74+
- uses: actions/checkout@v4
7575

7676
- name: Get Version
7777
run: |
@@ -108,27 +108,27 @@ jobs:
108108

109109
- name: Set up Docker Buildx
110110
id: buildx
111-
uses: docker/setup-buildx-action@v1
111+
uses: docker/setup-buildx-action@v3
112112
with:
113113
install: true
114114

115115
- name: Available platforms
116116
run: echo ${{ steps.qemu.outputs.platforms }}
117117

118118
- name: Download Artifact
119-
uses: actions/download-artifact@v2
119+
uses: actions/download-artifact@v4
120120
with:
121121
name: server
122122
path: server/build/libs
123123

124124
- name: Log into DockerHub
125-
uses: docker/login-action@v2
125+
uses: docker/login-action@v3
126126
with:
127127
username: ${{ secrets.DOCKERHUB_USERNAME }}
128128
password: ${{ secrets.DOCKERHUB_TOKEN }}
129129

130130
- name: Build and push
131-
uses: docker/build-push-action@v3
131+
uses: docker/build-push-action@v6
132132
with:
133133
context: server
134134
file: server/docker/Dockerfile

0 commit comments

Comments
 (0)