Skip to content

Commit

Permalink
fix: fix commit bug in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertyyb committed Nov 24, 2019
1 parent f7f653b commit 7623981
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,22 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: switch branch
run: git checkout master

- uses: actions/download-artifact@v1
with:
name: appcast

- name: move appcast.xml
run: mv appcast/appcast.xml ./appcast.xml
run: |
mv appcast/appcast.xml ./appcast.xml
rm -rf appcast
- name: commit appcast.xml
uses: stefanzweifel/[email protected]
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "update version" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
commit_message: "release: update version"
branch: master
file_pattern: appcast.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7623981

Please sign in to comment.