Update ci.yml
Test of auto tag
This commit is contained in:
@@ -66,4 +66,30 @@ jobs:
|
||||
-v /run/docker.sock:/run/docker.sock:rw \
|
||||
-v $(pwd)/${{ matrix.addon }}:/data homeassistant/amd64-builder --${{ matrix.arch }} -t /data \
|
||||
${{ env.DOCKER_ARGS }}
|
||||
update-rel:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Update package.json version
|
||||
uses: jossef/action-set-json-field@v2.1
|
||||
with:
|
||||
file: grott-current/config.json
|
||||
field: version
|
||||
value: "edge-${{ github.run_id }}"
|
||||
- name: Commit files
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add -A
|
||||
git commit -m "edge: bumping release edge-${{ github.run_id }}"
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@v0.6.0
|
||||
with:
|
||||
github_token: ${{ github.token }}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user