File tree Expand file tree Collapse file tree 1 file changed +9
-23
lines changed
Expand file tree Collapse file tree 1 file changed +9
-23
lines changed Original file line number Diff line number Diff line change @@ -11,29 +11,15 @@ jobs:
1111 runs-on : ubuntu-20.04
1212
1313 steps :
14- - name : Clone Repository
15- uses : actions/checkout@v2
14+ - name : Clone Repository
15+ uses : actions/checkout@v2
1616
17- - name : Fetch GeoIP from ip2location.
18- run : ./fetch-geoip.sh
17+ - name : Fetch GeoIP from ip2location.
18+ run : ./fetch-geoip.sh
1919
20- - name : Create Release
21- id : create_release
22- uses : actions/create-release@v1
23- env :
24- GITHUB_TOKEN : ${{ secrets.GEOIP_TOKEN }}
25- with :
20+ - name : Release
21+ uses : softprops/action-gh-release@v1
22+ with :
23+ files : IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP
2624 tag_name : monthly
27- draft : false
28- prerelease : false
29-
30- - name : Upload Release Asset
31- id : upload-release-asset
32- uses : actions/upload-release-asset@v1
33- env :
34- GITHUB_TOKEN : ${{ secrets.GEOIP_TOKEN }}
35- with :
36- upload_url : ${{ steps.create_release.outputs.upload_url }}
37- asset_path : ./IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP
38- asset_name : IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP
39- asset_content_type : application/zip
25+ token : ${{ secrets.GEOIP_TOKEN }}
You can’t perform that action at this time.
0 commit comments