diff --git a/.github/workflows/create-all-pkgs.yml b/.github/workflows/create-all-pkgs.yml index 1fdc1ad..d679f6f 100644 --- a/.github/workflows/create-all-pkgs.yml +++ b/.github/workflows/create-all-pkgs.yml @@ -29,7 +29,7 @@ jobs: aur-create: uses: ./.github/workflows/create-aur-packages.yml secrets: inherit - needs: is-ready + needs: rpm-create choco-create: uses: ./.github/workflows/create-choco-packages.yml diff --git a/.github/workflows/create-deb-ppa-packages.yml b/.github/workflows/create-deb-ppa-packages.yml index 9440fbb..f0c11d1 100644 --- a/.github/workflows/create-deb-ppa-packages.yml +++ b/.github/workflows/create-deb-ppa-packages.yml @@ -58,7 +58,7 @@ jobs: rm -rf ton-linux-arm64/{lib,smartcont} mv ton-linux-arm64/libtonlibjson.so* ton-linux-deb-arm64/lib/ [ -e ton-linux-arm64/libemulator.so ] && mv ton-linux-arm64/libemulator.so ton-linux-deb-arm64/lib/ - cp ton-linux-arm64/* ton-linux-deb-amd64/bin/ + cp ton-linux-arm64/* ton-linux-deb-arm64/bin/ chmod -R 555 ton-linux-deb-arm64/{bin,lib,share}/* mkdir -p both/{amd64,arm64} diff --git a/.github/workflows/create-rpm-packages.yml b/.github/workflows/create-rpm-packages.yml index baffce7..82600be 100644 --- a/.github/workflows/create-rpm-packages.yml +++ b/.github/workflows/create-rpm-packages.yml @@ -13,7 +13,7 @@ jobs: - name: Create rpm packages run: | - sudo apt install -y createrepo-c rpm + sudo apt install -y createrepo-c rpm git-lfs REPO_DIR=$PWD TAG=$(git ls-remote --tags https://github.com/ton-blockchain/ton/ | tail -1 | sed -n -e 's/^.*tags\///p') TAG=$(echo $TAG | sed s'/-/./') @@ -73,19 +73,14 @@ jobs: rm -rf rpm cp -r ../work/packages-out/rpm-install rpm - # one-by-one, since there is a gh limit of 100 MB upload - git add rpm/x86_64/ - git commit -m "create release x86_64 $TAG" || true - git push - - git add rpm/aarch64/ - git commit -m "create release aarch64 $TAG" || true + git lfs install + git lfs track "*.rpm" + git add .gitattributes + + git add rpm + git commit -m "create RPM release$TAG" || true git push - git add rpm/repodata/ - git commit -m "create release repodata $TAG" || true - git push - gh release create --notes "" $TAG ../work/ton-linux-x86-64.tar.gz env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file