From 15a7674aafd30399e7fda1af2a273aa3bf290e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Insaurralde=20Avalos?= Date: Sun, 7 Jan 2024 22:00:22 -0300 Subject: [PATCH] upload source to salsa repo for ppa --- .github/workflows/source_creation.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/source_creation.yml b/.github/workflows/source_creation.yml index 9790508f..4688992b 100644 --- a/.github/workflows/source_creation.yml +++ b/.github/workflows/source_creation.yml @@ -33,6 +33,19 @@ jobs: tar -A -f \$toplevel/../freecad_source.tar \$sha1.tar && \ rm \$sha1.tar" gzip ../freecad_source.tar + + - name: Upload source to salsa repo + run: | + git clone https://salsa.debian.org/adrianinsaval/freecad.git --branch versioned-src/dummy --single-branch salsa + cd salsa + git checkout -B versioned-src/${{ matrix.branch }} versioned-src/dummy + tar -xzf ../freecad_source.tar.gz + mv .gitignore ../gitignore + git add . + mv ../gitignore .gitignore + git add .gitignore + git commit -m "Add upstream source" + git push --force --repo=https://github-actions:${{ secrets.SALSA_TOKEN }}@salsa.debian.org/adrianinsaval/freecad.git - name: Upload binaries to release uses: svenstaro/upload-release-action@v2