Build and Package #483
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Package | |
on: | |
schedule: | |
- cron: 0 0 * * * | |
workflow_dispatch: | |
# release: | |
# types: [published] | |
jobs: | |
build_and_package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Install Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3.8 | |
- name: Run GetRoutes.py | |
run: python3 GetRoutes.py | |
- name: Archive | |
run: zip -r acl.zip routes.acl Country.mmdb | |
- name: Upload Release Asset | |
uses: svenstaro/[email protected] | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
file: acl.zip | |
asset_name: acl.zip | |
prerelease: true | |
overwrite: true |