Skip to content

Commit

Permalink
Automated publish (#1)
Browse files Browse the repository at this point in the history
* Add release script

* Payload
  • Loading branch information
marcofugaro authored May 30, 2024
1 parent e7ef078 commit 4453dca
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish SplineRuntime.xcframework

on:
repository_dispatch:
types: [runtime_publish]

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

- name: Download built SplineRuntime.xcframework
uses: actions/download-artifact@v4
with:
github-token: ${{ secrets.PATSPL }}
name: SplineRuntime_${{ github.event.client_payload.version }}
repository: ${{ github.event.client_payload.source_repo }}
run-id: ${{ github.event.client_payload.run_id }}

- name: Display downloaded files
run: ls -la

0 comments on commit 4453dca

Please sign in to comment.