diff --git a/.github/workflows/1_dev.yml b/.github/workflows/1_dev.yml index 3b7ff1e1..764da660 100644 --- a/.github/workflows/1_dev.yml +++ b/.github/workflows/1_dev.yml @@ -144,7 +144,7 @@ jobs: echo "compressed=statping-windows-${{ matrix.arch }}.zip" >> $GITHUB_ENV - name: Compress Darwin 32bit Builds - if: matrix.platform == 'darwin' && matrix.platform == '386' + if: matrix.platform == 'darwin' && matrix.arch == '386' run: | cd build mv statping-darwin-10.6-${{ matrix.arch }} statping @@ -153,8 +153,8 @@ jobs: rm -rf statping echo "compressed=statping-darwin-${{ matrix.arch }}.tar.gz" >> $GITHUB_ENV - - name: Compress Darwin 32bit Builds - if: matrix.platform == 'darwin' && matrix.platform == 'amd64' + - name: Compress Darwin 64bit Builds + if: matrix.platform == 'darwin' && matrix.arch == 'amd64' run: | cd build mv statping-darwin-10.12-${{ matrix.arch }} statping @@ -164,7 +164,7 @@ jobs: echo "compressed=statping-darwin-${{ matrix.arch }}.tar.gz" >> $GITHUB_ENV # - name: Compress Darwin arm64 Builds -# if: matrix.platform == 'darwin' && matrix.platform == 'arm64' +# if: matrix.platform == 'darwin' && matrix.arch == 'arm64' # run: | # cd build # mv statping-darwin-10.15-${{ matrix.arch }} statping @@ -173,6 +173,12 @@ jobs: # rm -rf statping # echo "compressed=statping-darwin-${{ matrix.arch }}.tar.gz" >> $GITHUB_ENV + - name: Upload Compiled Statping Binary + uses: actions/upload-artifact@v1 + with: + name: statping-${{ matrix.platform }}-${{ matrix.arch }} + path: ./build + test: needs: frontend runs-on: ubuntu-latest