forked from ionic-team/capacitor-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ios-location-aware-camera' of https://github.com/werkto…
…ols/capacitor-plugins into ios-location-aware-camera * 'ios-location-aware-camera' of https://github.com/werktools/capacitor-plugins: (24 commits) fix(keyboard): distribute the new SPM files (ionic-team#1895) chore: only lint plugins that changed (ionic-team#1880) feat(google-maps)!: Update iOS dependencies (ionic-team#1890) chore: update Podfile paths (ionic-team#1891) chore(ios): fix verify script (ionic-team#1892) chore(release): publish [skip ci] docs(README): Update note for Capacitor 6 (ionic-team#1883) chore: update dependencies to use next tag (ionic-team#1889) chore: bump version to 6.0.0-alpha.0 (ionic-team#1888) feat(app,haptics,status-bar,keyboard): Supporting Swift Package Manager (ionic-team#1886) chore(android): upgrade gradle wrapper and plugin to 8.2.x (ionic-team#1885) refactor(ios): remove removeAllListeners methods (ionic-team#1867) feat(camera)!: Use Android Photo Picker instead of ACTION_PICK intent (ionic-team#1833) fix(share): Address Android 14 changes (ionic-team#1849) chore: Remove lerna bootstrap form scripts (ionic-team#1875) chore: fix toggle-local npm script (ionic-team#1847) feat(filesystem): add removeAllListeners method (ionic-team#1862) docs(google-maps/geolocation)!: Removing deprecated usage descriptions for iOS (ionic-team#1855) chore: use the new addListener return type (ionic-team#1846) chore: ci release dev for non-draft PR's (ionic-team#1854) ...
- Loading branch information
Showing
294 changed files
with
1,879 additions
and
8,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Release Dev Build for PR | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
setup: | ||
if: github.event.pull_request.draft == false | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
outputs: | ||
plugins: ${{ steps.packages.outputs.paths }} | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@ce177499ccf9fd2aded3b0426c97e5434c2e8a73 | ||
with: | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Get Latest | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.18.0 | ||
- uses: actions/checkout@v3 | ||
- name: Restore Dependency Cache | ||
id: cache-modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
node_modules | ||
*/node_modules | ||
key: ${{ runner.os }}-dependency-caching-${{ hashFiles('package.json', '*/package.json') }} | ||
- run: npm install | ||
- id: files | ||
uses: tj-actions/changed-files@v37 | ||
with: | ||
json: true | ||
write_output_files: true | ||
- id: catjson | ||
run: | | ||
echo "FILES_JSON=$(cat .github/outputs/all_changed_files.json)" >> $GITHUB_OUTPUT | ||
- id: packages | ||
uses: ./.github/actions/changed-packages | ||
with: | ||
files: ${{ steps.catjson.outputs.FILES_JSON }} | ||
|
||
release-dev-of-plugins: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
permissions: | ||
pull-requests: write | ||
needs: | ||
- setup | ||
strategy: | ||
matrix: | ||
plugin: ${{ fromJson(needs.setup.outputs.plugins) }} | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.18.0 | ||
- uses: actions/checkout@v3 | ||
- name: Restore Dependency Cache | ||
id: cache-modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
node_modules | ||
*/node_modules | ||
key: ${{ runner.os }}-dependency-caching-${{ hashFiles('package.json', '*/package.json') }} | ||
- run: npm install | ||
- env: | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
run: | | ||
npm version prerelease --no-git-tag-version -f --preid dev-$PR_NUMBER-$(date +%Y%m%dT%H%M%S) | ||
npm publish --tag dev --dry-run | ||
working-directory: ${{ matrix.plugin }} | ||
- name: get-npm-version | ||
id: package-version | ||
uses: martinbeentjes/[email protected] | ||
with: | ||
path: ${{ matrix.plugin }} | ||
- uses: mshick/add-pr-comment@v2 | ||
with: | ||
message: | | ||
Released dev build of ${{ matrix.plugin }} with dev version: ${{ steps.package-version.outputs.current-version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.