Skip to content

Commit

Permalink
build: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Nov 11, 2024
1 parent 58c36de commit e996ea7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const jadxVersion = github.event.release.tag_name
const jadxVersion = context.ref.split('/').pop()
core.exportVariable('JADX_VERSION', jadxVersion);
- name: Setup Gradle
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const jadxVersion = github.event.release.tag_name
const jadxVersion = context.ref.split('/').pop()
const releaseName = jadxVersion.substring(1)
core.exportVariable('JADX_VERSION', jadxVersion);
Expand All @@ -75,7 +75,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v2
with:
name: ${{ env.JADX_RELEASE_NAME) }}
name: ${{ env.JADX_RELEASE_NAME }}
draft: true
files: |
${{ format('build/jadx-{0}.zip', env.JADX_VERSION) }}
Expand Down

0 comments on commit e996ea7

Please sign in to comment.