name: Build

on: [push]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macOS-latest]

    steps:
    - uses: actions/checkout@v1
      with:
          submodules: true
    - name: Build glorytun
      run: |
          ./sodium.sh
          make prefix=. install

    - uses: actions/upload-artifact@v1
      with:
        name: bin
        path: ./bin

name: Build

on: [push]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macOS-latest]

    steps:
    - uses: actions/checkout@v1
    - name: Build glorytun
      run: |
          git submodule update --init --recursive
          ./sodium.sh
          make prefix=. install

    - uses: actions/upload-artifact@v1
      with:
        name: bin
        path: ./bin

Revert "Try to use submodules"
Revert "Try to use submodules"

This reverts commit bccc9945f44fc5e2432329bff58e6aab815b62de.
