From 45e8165fc5f36ca0c78f439f06a06d69fb4b82d4 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Tue, 8 Nov 2022 18:05:59 +0100 Subject: [PATCH] feat: added new action that builds the project feat: updated actions/checkout to v3 --- .github/workflows/build.yaml | 21 +++++++++++++++++++++ .github/workflows/i18n.yaml | 2 +- .github/workflows/linter.yaml | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 00000000..12133f2b --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,21 @@ +name: build + +on: + push: + branches: + - master + pull_request: + branches: + - master + +concurrency: + group: build-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + - run: xcodebuild -scheme Stats -destination 'platform=OS X' -configuration Release archive CODE_SIGNING_ALLOWED=NO diff --git a/.github/workflows/i18n.yaml b/.github/workflows/i18n.yaml index ddb6c204..95f58cd0 100644 --- a/.github/workflows/i18n.yaml +++ b/.github/workflows/i18n.yaml @@ -15,6 +15,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v2 - run: python3 Kit/scripts/i18n.py diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index 585d357a..73a32327 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -17,5 +17,5 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: norio-nomura/action-swiftlint@3.2.1 \ No newline at end of file