Skip to content

Merge pull request #3 from andystanton/fbm_warp #15

Merge pull request #3 from andystanton/fbm_warp

Merge pull request #3 from andystanton/fbm_warp #15

name: Run Tests and Create Tag
on:
push:
branches: [ main ]
paths-ignore: [ '.gitignore', '.swift-format', 'README.md', 'LICENSE' ]
jobs:
run_tests_and_create_tag:
runs-on: macos-14
env:
GITHUB_TOKEN: ${{ secrets.CUSTOM_ACCESS_TOKEN }}
permissions:
contents: write
steps:
- name: Set XCode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "15"
- name: Checkout project including tags
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run tests
run: swift test
- name: Get next version
id: get-next-version
uses: paulhatch/semantic-version@v5.3.0
with:
tag_prefix: "v"
search_commit_body: false
- uses: ncipollo/release-action@v1
with:
commit: main
tag: ${{ steps.get-next-version.outputs.version_tag }}