Skip to content

Commit 8849c22

Browse files
authored
Try another action provider.
1 parent 036b317 commit 8849c22

File tree

1 file changed

+9
-23
lines changed

1 file changed

+9
-23
lines changed

.github/workflows/geoip.yml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)