diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a15cb01..6d7ce0a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,12 +38,8 @@ jobs: time ${{ github.workspace }}/build/src/lisp $file done - release: - runs-on: ubuntu-latest - needs: build - if: github.event_name == 'push' && github.ref == 'refs/heads/master' - steps: - name: Bundle Release + if: github.event_name == 'push' && github.ref == 'refs/heads/master' run: | mkdir -p ${{ github.workspace }}/release cp -v ${{ github.workspace }}/build/src/lisp ${{ github.workspace }}/release/ @@ -54,6 +50,7 @@ jobs: - name: Publish Relase uses: appleboy/scp-action@master + if: github.event_name == 'push' && github.ref == 'refs/heads/master' with: username: ${{ secrets.USER }} host: ${{ secrets.HOST }}