Skip to content

Commit

Permalink
Avoid package to generate UUID
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
  • Loading branch information
btlogy committed Jun 26, 2024
1 parent 6835101 commit 1615e9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ runs:
id: create
shell: bash
run: |
which uuidgen || sudo apt -y install uuid-runtime
UUID="$(uuidgen)"
UUID="$(cat /proc/sys/kernel/random/uuid)"
MNT="${{ inputs.root }}/${UUID}"
echo ":rocket: Temp FS ${MNT} creation started" >> $GITHUB_STEP_SUMMARY
sudo mkdir -p "${MNT}" \
Expand Down

0 comments on commit 1615e9e

Please sign in to comment.