Skip to content

Commit

Permalink
Merge pull request #368 from Shared-Reality-Lab/ios-automation
Browse files Browse the repository at this point in the history
Adds a way to download xcode workspace file automated via Github Actions
  • Loading branch information
jaydeepsingh25 committed Jan 2, 2024
2 parents 569e360 + a33461b commit 04bf19c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ios-automate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Xcode Project Artifact
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: macos-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Install dependencies
run: npm install

- name: Build Chrome extension
run: npm run pack:test

- name: Convert to Safari extension
run: xcrun safari-web-extension-converter ./build-chrome

- name: Upload Xcode project
uses: actions/upload-artifact@v2
with:
name: xcode-project
path: "IMAGE Extension (Test)"

0 comments on commit 04bf19c

Please sign in to comment.