Skip to content

github action

github action #280

Workflow file for this run

name: Build and run on GitHub Actions
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Fetch all tags
run: git fetch --tags
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libglib2.0-dev
- name: Configure git
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
- name: Run the build script
run: ./build.sh
- name: Push changes
run: |
git push --tags
- name: Archive artifacts if any
uses: actions/upload-artifact@v4
with:
name: tzdbics_${{ env.VZIC_RELEASE_NAME }}
if-no-files-found: ignore