Skip to content

Commit

Permalink
CI to keep only latest artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Nicolas Brunet <[email protected]>
  • Loading branch information
jnbrunet committed Mar 7, 2023
1 parent f96129b commit cddede9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,5 @@ jobs:
port: ${{ secrets.ARTIFACT_PORT }}
envs: ARTIFACT_TARGET,ARTIFACT_LATEST
script: |
mv $ARTIFACT_TARGET/SofaCaribou.tar.gz $ARTIFACT_TARGET.tar.gz
rm -rf $ARTIFACT_TARGET
rm -f $ARTIFACT_LATEST
ln -s $ARTIFACT_TARGET.tar.gz $ARTIFACT_LATEST
mv $ARTIFACT_TARGET/SofaCaribou.tar.gz $ARTIFACT_LATEST
rm -rf $ARTIFACT_TARGET

0 comments on commit cddede9

Please sign in to comment.