Skip to content

Commit

Permalink
update CI_Release
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Github committed Sep 5, 2023
1 parent 89488f6 commit 7c9ac1d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,28 @@ jobs:
with:
name: burp_nu_te_gen_Releases.zip
path: target/Nu_Te_Gen-*-SNAPSHOT-jar-with-dependencies.jar

- name: Zip the Build
run: cd target && zip -r ../burp_nu_te_gen_Releases.zip Nu_Te_Gen-*-SNAPSHOT-jar-with-dependencies.jar

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: TODO New Release.
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./burp_nu_te_gen_Releases.zip
asset_name: burp_nu_te_gen_Releases.zip
asset_content_type: application/zip
13 changes: 0 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,6 @@
</plugins>
</build>

<repositories>
<repository>
<id>alimaven</id>
<url>https://maven.aliyun.com/repository/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>alimaven</id>
<url>https://maven.aliyun.com/repository/public</url>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>net.portswigger.burp.extender</groupId>
Expand Down

0 comments on commit 7c9ac1d

Please sign in to comment.