2 Commits

Author SHA1 Message Date
ed6d4fa425 Tested new update version
All checks were successful
Pull Request Pipeline / lint (pull_request) Has been skipped
Pull Request Pipeline / test (pull_request) Has been skipped
Pull Request Pipeline / update_version (pull_request) Successful in 5s
2026-01-24 11:38:31 +01:00
83b9967a86 updated checkout version 2026-01-24 11:37:15 +01:00
2 changed files with 31 additions and 1 deletions

View File

@@ -4,8 +4,37 @@ on:
pull_request:
jobs:
update_version:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.BOT_TOKEN }}
ref: ${{ gitea.head_ref }}
- name: Increment version number
uses: stikkyapp/update-pubspec-version@v2
with:
strategy: 'patch'
path: './pubspec.yaml'
- name: Commit version update
env:
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
git config --global user.name "Gitea Actions [bot]"
git config --global user.email "actions@yannick-weigert.de"
git add pubspec.yaml
git commit -m "Updated version number [skip ci]"
git push origin HEAD:${{ gitea.head_ref }}
lint:
runs-on: ubuntu-latest
if: false
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -24,6 +53,7 @@ jobs:
run: flutter analyze lib test
test:
if: false
runs-on: ubuntu-latest
steps:
- name: Checkout code

View File

@@ -59,7 +59,7 @@ jobs:
needs: update_version
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install Flutter (wget)
run: |