Compare commits

..

No commits in common. "master" and "20201112" have entirely different histories.

1 changed files with 5 additions and 14 deletions

View File

@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: git tag
uses: actions/github-script@v7
uses: actions/github-script@v2
id: tag
with:
script: |
@ -38,21 +38,12 @@ jobs:
run: |
wget -O ./GeoLite2-Country.tar.gz "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=${LICENSE_KEY}&suffix=tar.gz"
tar zxvf ./GeoLite2-Country.tar.gz -C .
mkdir dist
mv ./GeoLite2-Country_*/GeoLite2-Country.mmdb ./dist/Country.mmdb
mv ./GeoLite2-Country_*/GeoLite2-Country.mmdb ./Country.mmdb
- name: Upload Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: dist/Country.mmdb
files: Country.mmdb
tag_name: ${{steps.tag.outputs.result}}
- name: Upload to release branch
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: release
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}