From b4118ef781f0f9f7362be230939558f0e2599e89 Mon Sep 17 00:00:00 2001 From: Toby Davis Date: Sun, 22 Oct 2023 17:14:30 +0100 Subject: [PATCH] Update release script --- .github/workflows/create-release.yaml | 86 +++------------------------ 1 file changed, 7 insertions(+), 79 deletions(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index e99d86c4..93922dd9 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -22,88 +22,16 @@ jobs: run: | zip -r librapid.zip ../librapid - - name: Get latest CMake and ninja - uses: lukka/get-cmake@latest - - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: "3.9" - - - name: Install Clang - uses: KyleMayes/install-llvm-action@v1 - with: - version: "15.0" - directory: "./llvm" - env: on - - - name: Build Doxygen - id: build_doxygen - continue-on-error: true - run: | - git clone --recursive https://github.com/doxygen/doxygen.git - cd doxygen - git checkout Release_1_9_7 - mkdir build - cd build - cmake .. -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" - cmake --build . --config Release - sudo make install - env: - CC: gcc - CXX: g++ - - - name: Install Doxygen on Error - if: steps.build_doxygen.outcome != 'success' - run: | - sudo apt install doxygen - - - name: Upgrade Source Distribution - continue-on-error: true - run: | - sudo apt update - sudo apt upgrade -y - sudo apt autoremove -y - - - name: Install LaTeX - continue-on-error: true - run: | - sudo apt-get install -y texlive-full - - - name: Install Requirements - continue-on-error: true - run: | - cd docs - pip install -r requirements.txt - - - name: Force install Sphinx Build - run: | - sudo apt-get install python3-sphinx - - - name: Configure Files - run: | - touch .is_local - - - name: Build HTML Documentation - run: | - cd docs - make html - - - name: Build PDf Documentation - # continue-on-error: true - run: | - cd docs - make latexpdf - - - name: Zip Documentation (HTML) - run: | - zip -r htmlDocs.zip ./docs/build/html - - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false files: | librapid.zip - htmlDocs.zip - docs/build/latex/librapid.pdf + README.md + LICENSE + version.txt + SECURITY.md + CONTRIBUTING.md + CODE_OF_CONDUCT.md + CITATION.cff