Skip to content

Commit 019c249

Browse files
authored
update secret usage
1 parent fbcd1ce commit 019c249

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/go.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
run: ./ip2geo -version
3737

3838
- name: Download MaxMind
39-
run: wget --quiet -O maxmind.zip 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City-CSV&suffix=zip&license_key=${{ secrets.MAXMIND_LICENSE_KEY }}'
39+
env:
40+
MAXMIND_LICENSE_KEY: ${{ secrets.MAXMIND_LICENSE_KEY }}
41+
run: wget --quiet -O maxmind.zip 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City-CSV&suffix=zip&license_key=$MAXMIND_LICENSE_KEY'
4042

4143
- name: Test maxmind
4244
run: |

0 commit comments

Comments
 (0)