This repository was archived by the owner on Dec 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 3939
4040 steps :
4141 - name : Checkout repository
42- uses : actions/checkout@v2
42+ uses : actions/checkout@v3
4343
4444 # Initializes the CodeQL tools for scanning.
4545 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 11name : Release
22on :
3- push :
4- # ignore all branches
5- branches-ignore :
6- - ' *'
7- # run for every tag with version string
8- tags :
9- - v[0-9]+.[0-9]+.[0-9]+
10- - v[0-9]+.[0-9]+.[0-9]+-beta[0-9]?
3+ release :
4+ types : [created]
115
126jobs :
137
@@ -17,12 +11,12 @@ jobs:
1711 steps :
1812
1913 - name : Set up Golang
20- uses : actions/setup-go@v2
14+ uses : actions/setup-go@v3
2115 with :
2216 go-version : ' 1.17'
2317
2418 - name : Check out code into the Go module directory
25- uses : actions/checkout@v2
19+ uses : actions/checkout@v3
2620
2721 - name : Unshallow
2822 run : git fetch --prune --unshallow
4438 steps :
4539
4640 - name : Check out code
47- uses : actions/checkout@v2
41+ uses : actions/checkout@v3
4842
4943 - name : Version strings
5044 id : version
5448
5549 - name : Publish beta version to Registry
5650 if : ${{ contains(github.ref_name, 'beta') }}
57- uses : elgohr/Publish-Docker-Github-Action@master
51+ uses : elgohr/Publish-Docker-Github-Action@v4
5852 env :
5953 GIT_HASH : ${{ steps.version.outputs.RELEASE_VERSION }}
6054 GIT_TIME : ${{ steps.version.outputs.RELEASE_TIME }}
6862
6963 - name : Publish release version to Registry
7064 if : ${{ !contains(github.ref_name, 'beta') }}
71- uses : elgohr/Publish-Docker-Github-Action@master
65+ uses : elgohr/Publish-Docker-Github-Action@v4
7266 env :
7367 GIT_HASH : ${{ steps.version.outputs.RELEASE_VERSION }}
7468 GIT_TIME : ${{ steps.version.outputs.RELEASE_TIME }}
You can’t perform that action at this time.
0 commit comments