2828 runs-on : ${{ matrix.os }}
2929 strategy :
3030 matrix :
31- os : [ubuntu-latest, ubuntu-latest-arm, macOS-13, macOS- latest, windows-latest]
31+ os : [ubuntu-latest, ubuntu-latest-arm, macOS-latest, windows-latest]
3232
3333 steps :
3434 - name : Check out code
@@ -76,30 +76,30 @@ jobs:
7676 artifacts : ${{ steps.binarypath.outputs.BINARY_PATH }}
7777 artifactContentType : application/octet-stream
7878
79- # build_centos_artifact:
80- # needs: [create_release]
81- # runs-on: ubuntu-latest
82-
83- # steps:
84- # - name: Checkout repo
85- # uses: actions/checkout@v4
86-
87- # - name: Build Docker image
88- # run: docker build -t linux -f .github/workflows/Dockerfile.centos .
89-
90- # - name: Create container
91- # run: docker create --name linuxcontainer linux
92-
93- # - name: Copy executable
94- # run: docker cp linuxcontainer:/root/.local/bin/pileupCaller pileupCaller-conda-linux
95-
96- # - name: Upload Release Asset
97- # id: upload-release-asset
98- # uses: ncipollo/release-action@v1
99- # with:
100- # name: Release ${{ github.ref_name }}
101- # draft: true
102- # allowUpdates: true
103- # artifactErrorsFailBuild: true
104- # artifacts: pileupCaller-conda-linux
105- # artifactContentType: application/octet-stream
79+ build_centos_artifact :
80+ needs : [create_release]
81+ runs-on : ubuntu-latest
82+
83+ steps :
84+ - name : Checkout repo
85+ uses : actions/checkout@v4
86+
87+ - name : Build Docker image
88+ run : docker build -t linux -f .github/workflows/Dockerfile.centos .
89+
90+ - name : Create container
91+ run : docker create --name linuxcontainer linux
92+
93+ - name : Copy executable
94+ run : docker cp linuxcontainer:/root/.local/bin/pileupCaller pileupCaller-conda-linux
95+
96+ - name : Upload Release Asset
97+ id : upload-release-asset
98+ uses : ncipollo/release-action@v1
99+ with :
100+ name : Release ${{ github.ref_name }}
101+ draft : true
102+ allowUpdates : true
103+ artifactErrorsFailBuild : true
104+ artifacts : pileupCaller-conda-linux
105+ artifactContentType : application/octet-stream
0 commit comments