-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
qwertyyb
committed
Nov 24, 2019
1 parent
f7f653b
commit 7623981
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|