diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06761ed..a692134 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v3 - name: Setup Dev Environment run: | - apt update && apt install -y build-essential git doxygen graphviz + apt update && apt install -y build-essential git git clone https://github.com/cc65/cc65.git && cd cc65 && make && make avail - name: Analyze Project Metadata @@ -26,14 +26,7 @@ jobs: run: | cd build sh build.sh - - - name: Generate Documentation - run: | - doxygen doc/doxygen-config - cd doc/html - zip -r ../documentation-${{ env.PROJECT_VERSION }}.zip * - tar -czvf ../documentation-${{ env.PROJECT_VERSION }}.tar.gz * - + - name: Create Release id: create_release uses: actions/create-release@v1 @@ -54,24 +47,4 @@ jobs: asset_path: build/snake.nes asset_name: ${{ github.event.repository.name }}-${{ env.PROJECT_VERSION }}.nes asset_content_type: application/x-nes-rom - - - name: Upload Documentation ZIP - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: doc/documentation-${{ env.PROJECT_VERSION }}.zip - asset_name: documentation-${{ env.PROJECT_VERSION }}.zip - asset_content_type: application/zip - - - name: Upload Documentation TAR.GZ - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: doc/documentation-${{ env.PROJECT_VERSION }}.tar.gz - asset_name: documentation-${{ env.PROJECT_VERSION }}.tar.gz - asset_content_type: application/gzip