diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 54227af9..8133db30 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,19 +1,18 @@ -name: Build Cork +name: Build New Version on: push: - branches: main tags: - - '*' + - 'v[0-9]+.[0-9]+.[0-9]+' jobs: build-app: - runs-on: macos-13 + runs-on: macos-14 steps: - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '14.3.1' + xcode-version: '15.2' - name: Checkout repository uses: actions/checkout@v4 @@ -24,8 +23,7 @@ jobs: - name: Create zip file run: cp -r build/Build/Products/Debug/Cork.app . && zip -r Cork.zip Cork.app - # - name: Upload binaries to release - # uses: svenstaro/upload-release-action@v2 - # with: - # repo_token: ${{ secrets.TOKEN }} - # file: Cork.zip + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + file: Cork.zip