Skip to content

Commit

Permalink
feat: remove release step from ci (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyod authored Nov 21, 2023
1 parent 563a278 commit 1cd6ce3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
tags:
- "*"
jobs:
run-tests:
runs-on: macos-12
Expand Down Expand Up @@ -42,12 +40,3 @@ jobs:
destination: platform=TvOS Simulator,name=Apple TV
action: clean build
build-settings: CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
release:
needs: run-tests
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
name: Continuous Delivery

on:
release:
types: [published]
workflow_dispatch:
push:
tags:
- "*"

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
makeLatest: true
publish:
needs: release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 1cd6ce3

Please sign in to comment.