diff --git a/.github/workflows/carbonix_build.yml b/.github/workflows/carbonix_build.yml index 417b351b5e..ebaa3cea7b 100644 --- a/.github/workflows/carbonix_build.yml +++ b/.github/workflows/carbonix_build.yml @@ -518,17 +518,20 @@ jobs: - name: List downloaded files run: ls -R aircraft_zip/ + + - name: Install p7zip + run: sudo apt-get install -y p7zip-full - - name: Zip the folder + - name: 7zip the folder run: | cd aircraft_zip - zip -r ../${{ env.folder_name }}.zip . + 7z a ../${{ env.folder_name }}.7z . - - name: Upload zipped folder to artifacts + - name: Upload 7z folder to artifacts uses: actions/upload-artifact@v4 with: name: ${{ env.folder_name }} - path: ${{ env.folder_name }}.zip + path: ${{ env.folder_name }}.7z retention-days: 15 - name: Configure AWS credentials @@ -538,10 +541,10 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }} aws-region: us-east-1 - - name: Upload zipped folder to S3 + - name: Upload 7z folder to S3 run: | PATH_TO_S3=${{ needs.setup-s3-path.outputs.s3_path }} # Remove trailing slash if it exists PATH_TO_S3=${PATH_TO_S3%/} echo "Uploading to: $PATH_TO_S3" - aws s3 cp ${{ env.folder_name }}.zip $PATH_TO_S3/${{ env.folder_name }}.zip + aws s3 cp ${{ env.folder_name }}.7z $PATH_TO_S3/${{ env.folder_name }}.7z