-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 1.04 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Run Tests
on:
push:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Set up Xcode
run: sudo xcode-select -switch /Applications/Xcode.app && /usr/bin/xcodebuild -version
- name: Build and Test
run: xcodebuild test -scheme OldNorseDictionary -project OldNorseDictionary.xcodeproj CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO
release:
needs:
- test
runs-on: ubuntu-22.04
steps:
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.RELEASES_ACTION_GITHUB_TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
token: ${{ secrets.RELEASES_ACTION_GITHUB_TOKEN }}