Skip to content

Commit

Permalink
Added GH env variable
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
  • Loading branch information
GumpacG committed Aug 12, 2024
1 parent 231fb1d commit 95e8e67
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,17 @@ jobs:
combine-binaries-to-one-directory:
needs: create-binaries-to-publish
runs-on: ubuntu-latest
env:
INPUT_VERSION: ${{ github.event.inputs.version }}
steps:
- name: Move all files to one zip file
run:
zip -r java/bundles-${{ github.event.inputs.version }}.zip java
zip -r java/bundles-${{ env.INPUT_VERSION }}.zip java

- name: Upload artifacts to publish
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: bundles-${{ github.event.inputs.version }}.zip
name: bundles-${{ env.INPUT_VERSION }}.zip
path: |
java/bundles-${{ github.event.inputs.version }}.zip
java/bundles-${{ env.INPUT_VERSION }}.zip

0 comments on commit 95e8e67

Please sign in to comment.