Skip to content

Commit

Permalink
Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer committed Jan 10, 2025
1 parent 8b53160 commit 3709f20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,16 @@ jobs:
echo "version: ${{ inputs.version }}"
fi
echo "releasenotes: ${{ inputs.releasenotes }}"
# buildandtest:
# name: Build and Test
# needs: determineenvironment
# uses: ./.github/workflows/build-and-test.yml
# permissions:
# contents: read
# secrets: inherit
buildandtest:
name: Build and Test
needs: determineenvironment
uses: ./.github/workflows/build-and-test.yml
permissions:
contents: read
secrets: inherit
iosapptestflightdeployment:
name: iOS App TestFlight Deployment
needs: [determineenvironment, vars] # buildandtest
needs: [determineenvironment, vars, buildandtest]
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
permissions:
contents: read
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ name: Release
on:
release:
types: [published]
push:
branches:
- fixReleaseNotes

concurrency:
group: production
Expand Down Expand Up @@ -41,8 +38,8 @@ jobs:
import requests
# Fetch release notes from the GitHub API
RELEASE_TAG = "2.0.1"
REPO = "StanfordBDHG/ENGAGE-HF-iOS"
RELEASE_TAG = "${{ github.event.release.tag_name }}"
REPO = "${{ github.repository }}"
URL = f"https://api.github.com/repos/{REPO}/releases/tags/{RELEASE_TAG}"
response = requests.get(URL)
release = response.json()
Expand Down

0 comments on commit 3709f20

Please sign in to comment.