Skip to content

Commit

Permalink
fix(ci): fix update bundle ci
Browse files Browse the repository at this point in the history
  • Loading branch information
indrastorms committed Apr 3, 2024
1 parent 7f945b7 commit e77068d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/update_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ name: update bundle
on:
workflow_dispatch:
release:
types: [created]
types: [created, published]
branches: [main]
jobs:
run_python_script:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand All @@ -24,8 +27,13 @@ jobs:
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "indranil012"
git add bundle.json
git commit -m "update bundle.json [skip ci]"
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
git commit -a -m "update bundle.json [skip ci]"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GIT_TOKEN }}
branch: ${{ github.ref }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.3.2-dev.1](https://github.com/Indranil012/Dropped-Patches/compare/v1.3.1...v1.3.2-dev.1) (2024-04-03)


### Bug Fixes

* **ci:** fix update bundle ci ([76d2359](https://github.com/Indranil012/Dropped-Patches/commit/76d235972c214aee9535553f5dc25696ae4053ef))

## [1.3.1](https://github.com/Indranil012/Dropped-Patches/compare/v1.3.0...v1.3.1) (2024-04-03)


Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.parallel = true
org.gradle.caching = true
kotlin.code.style = official
version = 1.3.1
version = 1.3.2-dev.1

0 comments on commit e77068d

Please sign in to comment.