-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
69cfb42
commit 9b54896
Showing
1 changed file
with
11 additions
and
5 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 |
---|---|---|
|
@@ -20,6 +20,9 @@ jobs: | |
|
||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
|
@@ -54,12 +57,15 @@ jobs: | |
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
packages_dir: dist/ | ||
- name: Commit and push changes | ||
- name: Commit files | ||
run: | | ||
git config --global user.name '$GITHUB_REPOSITORY_OWNER' | ||
git config --global user.email '[email protected]' | ||
git checkout -b master | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add src/linktools/assets/frida.js | ||
git add src/linktools/assets/android-tools.json src/linktools/assets/android-tools.apk | ||
git commit -m "Auto commit artifacts (${{ steps.previoustag.outputs.tag }})" | ||
git push origin HEAD:master | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: master |