mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
30 lines
693 B
YAML
30 lines
693 B
YAML
name: increment-build-number
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 20 * * *'
|
|
|
|
jobs:
|
|
increment-build-number:
|
|
if: github.repository == 'FirebirdSQL/firebird'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
token: ${{ secrets.FIREBIRD_INC_BUILDNUM }}
|
|
persist-credentials: true
|
|
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 }}
|
|
run: |
|
|
sh setupBuildNum.sh
|