diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index 49e907f1d..d61b9d20c 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -4,7 +4,7 @@ name: CMake Build Matrix # Controls when the action will run. Triggers the workflow on push on: release: - types: [created] + types: [created, edited] jobs: build: @@ -23,6 +23,15 @@ jobs: cxx: "g++", generators: "Ninja" } + - { + name: "Ubuntu_18.04-GCC", + os: ubuntu-18.04, + artifact: "ubuntu-18.04-gcc.zip", + build_type: "Release", + cc: "gcc", + cxx: "g++", + generators: "Ninja" + } - { name: "macos-11-clang", os: macos-11, @@ -43,7 +52,7 @@ jobs: echo github.event.action: ${{ github.event.action }} echo github.event_name: ${{ github.event_name }} - name: Install dependencies on ubuntu - if: startsWith(matrix.config.name, 'Ubuntu_20.04-GCC') + if: startsWith(matrix.config.name, 'Ubuntu_') run: | sudo apt-get update sudo apt-get install ninja-build cmake @@ -90,4 +99,4 @@ jobs: upload_url: ${{ github.event.release.upload_url }} asset_path: ../ants-${{ github.ref_name }}-${{ matrix.config.artifact }} asset_name: ants-${{ github.ref_name }}-${{ matrix.config.artifact }} - asset_content_type: application/zip + asset_content_type: application/zip \ No newline at end of file