Push Pipeline Error #181
@@ -52,8 +52,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git fetch origin ${{ gitea.head_ref }}
|
git fetch origin ${{ gitea.ref_name }}
|
||||||
git checkout ${{ gitea.head_ref }}
|
git checkout ${{ gitea.ref_name }}
|
||||||
|
|
||||||
dart fix --apply lib
|
dart fix --apply lib
|
||||||
dart fix --apply test
|
dart fix --apply test
|
||||||
@@ -73,7 +73,7 @@ jobs:
|
|||||||
|
|
||||||
update_version:
|
update_version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: Format
|
needs: format
|
||||||
if: gitea.ref == 'refs/heads/development'
|
if: gitea.ref == 'refs/heads/development'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
ref: ${{ gitea.head_ref }}
|
ref: ${{ gitea.ref_name }}
|
||||||
|
|
||||||
- name: Increment version number
|
- name: Increment version number
|
||||||
uses: https://github.com/stikkyapp/update-pubspec-version@v2
|
uses: https://github.com/stikkyapp/update-pubspec-version@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user