Skip to content

Commit

Permalink
.github/workflows/release.yml: avoid ACTIONS_ALLOW_UNSECURE_COMMANDS
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Nov 4, 2024
1 parent 98480cd commit 19b04c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Get Maven version
run: echo "::set-env name=VERSION::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
- name: Create Release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 19b04c2

Please sign in to comment.