8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00
firebird-mirror/.github/workflows/increment-build-number.yml

30 lines
693 B
YAML
Raw Normal View History

2023-04-01 20:08:51 +02:00
name: increment-build-number
on:
workflow_dispatch:
schedule:
- cron: '0 20 * * *'
2023-04-01 20:08:51 +02:00
jobs:
increment-build-number:
if: github.repository == 'FirebirdSQL/firebird'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.FIREBIRD_INC_BUILDNUM }}
2023-04-01 22:09:59 +02:00
persist-credentials: true
2023-04-01 20:08:51 +02:00
fetch-depth: 0
- name: Configure git
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
- name: Run setupBuildNum.sh
env:
GITHUB_TOKEN: ${{ secrets.FIREBIRD_INC_BUILDNUM }}
2023-04-01 20:08:51 +02:00
run: |
sh setupBuildNum.sh