Skip to content

Commit

Permalink
Add release GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson committed Jan 15, 2023
1 parent a66a7d4 commit 8ca8624
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: macos-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: xcodebuild build -scheme "German Word of the Day" -configuration Release -derivedDataPath $GITHUB_WORKSPACE
- name: Archive
run: |
mv "$GITHUB_WORKSPACE/Build/Products/Release/German Word of the Day.app" $GITHUB_WORKSPACE
zip -r German_Word_of_the_Day.zip "German Word of the Day.app"
- name: Release
uses: softprops/action-gh-release@v1
with:
files: German_Word_of_the_Day.zip

0 comments on commit 8ca8624

Please sign in to comment.