Skip to content

Commit

Permalink
Hardlink instead of copy files
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Aug 23, 2023
1 parent 5612bff commit 7dbfcf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ runs:
run: |
sudo apt-get clean -yq
if compgen -G "${{ inputs.path }}/*.deb" > /dev/null; then
sudo cp ${{ inputs.path }}/*.deb /var/cache/apt/archives
sudo cp -l ${{ inputs.path }}/*.deb /var/cache/apt/archives
fi
sudo apt-get install -yq ${{ inputs.packages }}
mkdir -p ${{ inputs.path }}
sudo cp /var/cache/apt/archives/*.deb ${{ inputs.path }}
sudo cp -l /var/cache/apt/archives/*.deb ${{ inputs.path }}

0 comments on commit 7dbfcf4

Please sign in to comment.