Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-black-tea committed Sep 3, 2023
1 parent 69cfb42 commit 9b54896
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:

runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down Expand Up @@ -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

0 comments on commit 9b54896

Please sign in to comment.