Skip to content

Commit

Permalink
Trying fix hash 2
Browse files Browse the repository at this point in the history
  • Loading branch information
benchdoos committed Oct 21, 2023
1 parent 22712e8 commit a45953f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
outputs:
WeblocOpenerCoreHash: WeblocOpenerCoreHashTest
WeblocOpenerHash: WeblocOpenerHashTest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
Expand Down Expand Up @@ -53,17 +56,14 @@ jobs:
- name: Get commit hash for WeblocOpenerCore
id: weblocopenercore_hash
run: |
echo "WEBLOCOPENER_CORE_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
echo "::set-output name=WeblocOpenerCoreHash::${WEBLOCOPENER_CORE_COMMIT}"
run: echo "WeblocOpenerCoreHash=$(git rev-parse HEAD) >> $GITHUB_OUTPUT"

- name: Build WeblocOpener
run: mvn -B clean package -P build-setup,build-deb,build-exe --file pom.xml

- name: Get commit hash for WeblocOpener
id: weblocopener_hash
run: |
echo "WEBLOCOPENER_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
run: echo "WeblocOpenerHash=$(git rev-parse HEAD) >> $GITHUB_OUTPUT"

- name: Upload WeblocOpener.deb
uses: actions/upload-artifact@v2
Expand All @@ -77,10 +77,6 @@ jobs:
name: WeblocOpenerSetup.exe
path: ${{ github.workspace }}/target/WeblocOpenerSetup.exe

outputs:
WeblocOpenerCoreHash: ${{steps.weblocopenercore_hash.outputs.WeblocOpenerCoreHash}}
WeblocOpenerHash: ${{steps.weblocopener_hash.outputs.WeblocOpenerHash}}


create-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a45953f

Please sign in to comment.