Skip to content

Commit e5af37b

Browse files
authored
upgrade github actions version (fatedier#3150)
1 parent e8c8d59 commit e5af37b

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/build-and-push-image.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
steps:
1717
# environment
1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020
with:
2121
fetch-depth: '0'
2222

2323
- name: Set up QEMU
24-
uses: docker/setup-qemu-action@v1
24+
uses: docker/setup-qemu-action@v2
2525

2626
- name: Set up Docker Buildx
27-
uses: docker/setup-buildx-action@v1
27+
uses: docker/setup-buildx-action@v2
2828

2929
# get image tag name
3030
- name: Get Image Tag Name
@@ -35,13 +35,13 @@ jobs:
3535
echo "TAG_NAME=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
3636
fi
3737
- name: Login to DockerHub
38-
uses: docker/login-action@v1
38+
uses: docker/login-action@v2
3939
with:
4040
username: ${{ secrets.DOCKERHUB_USERNAME }}
4141
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4242

4343
- name: Login to the GPR
44-
uses: docker/login-action@v1
44+
uses: docker/login-action@v2
4545
with:
4646
registry: ghcr.io
4747
username: ${{ github.repository_owner }}
@@ -58,7 +58,7 @@ jobs:
5858
echo "TAG_FRPS_GPR=ghcr.io/fatedier/frps:${{ env.TAG_NAME }}" >> $GITHUB_ENV
5959
6060
- name: Build and push frpc
61-
uses: docker/build-push-action@v2
61+
uses: docker/build-push-action@v3
6262
with:
6363
context: .
6464
file: ./dockerfiles/Dockerfile-for-frpc
@@ -69,7 +69,7 @@ jobs:
6969
${{ env.TAG_FRPC_GPR }}
7070
7171
- name: Build and push frps
72-
uses: docker/build-push-action@v2
72+
uses: docker/build-push-action@v3
7373
with:
7474
context: .
7575
file: ./dockerfiles/Dockerfile-for-frps

.github/workflows/goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212
with:
1313
fetch-depth: 0
1414

1515
- name: Set up Go
16-
uses: actions/setup-go@v2
16+
uses: actions/setup-go@v3
1717
with:
1818
go-version: 1.19
1919

@@ -26,7 +26,7 @@ jobs:
2626
./package.sh
2727
2828
- name: Run GoReleaser
29-
uses: goreleaser/goreleaser-action@v2
29+
uses: goreleaser/goreleaser-action@v3
3030
with:
3131
version: latest
3232
args: release --rm-dist --release-notes=./Release.md

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
stale:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/stale@v5
15+
- uses: actions/stale@v6
1616
with:
1717
repo-token: ${{ secrets.GITHUB_TOKEN }}
1818
stale-issue-message: 'Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.'

0 commit comments

Comments
 (0)