Shortened action url
This commit is contained in:
@@ -4,34 +4,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
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:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
if: false
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
ref: ${{ gitea.ref_name }}
|
ref: ${{ gitea.ref_name }}
|
||||||
|
|
||||||
- name: Increment version number
|
- name: Increment version number
|
||||||
uses: https://github.com/stikkyapp/update-pubspec-version@v2
|
uses: stikkyapp/update-pubspec-version@v2
|
||||||
with:
|
with:
|
||||||
strategy: 'patch'
|
strategy: 'patch'
|
||||||
path: './pubspec.yaml'
|
path: './pubspec.yaml'
|
||||||
|
|||||||
Reference in New Issue
Block a user