Skip to content

Commit

Permalink
Updating binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Shchvova committed Jun 30, 2020
1 parent d03a0da commit 89ef686
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
paths:
- 'plugins/**'
repository_dispatch:

env:
releaseName: v${{ github.run_number }}
Expand All @@ -24,6 +25,7 @@ jobs:
(
if [ ! -d "$platform" ] ; then continue ; fi
cd "$platform"
if ! ls * &> /dev/null ; then continue ; fi
COPYFILE_DISABLE=true tar -czvf ../../"$build-$platform.tgz" --exclude=".*" *
)
done
Expand All @@ -37,4 +39,16 @@ jobs:
tag_name: ${{ env.releaseName }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Directory update request
run: |
[ -z "${{ secrets.ISSUE_PAT }}" ] && echo "Skipping, no ISSUE_PAT" && exit 0
curl --request POST \
--url https://api.github.com/repos/solar2d/plugins.solar2d.com/dispatches \
--header 'authorization: Bearer ${{ secrets.ISSUE_PAT }}' \
--header 'content-type: application/json' \
--data '{
"event_type": "repo_updated",
"client_payload": {
"repo": "${{ github.repository }}"
}
}'
2 changes: 1 addition & 1 deletion plugins/2020.3569/iphone-sim/metadata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local metadata =
frameworks = { 'Accounts', 'FBSDKCoreKit', 'FBSDKLoginKit', 'FBSDKShareKit', },
frameworksOptional = {},
delegates = { 'CoronaFacebookDelegate' }
-- usesSwift = true,
usesSwift = true,
},
}

Expand Down
2 changes: 1 addition & 1 deletion plugins/2020.3569/iphone/metadata.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local metadata =
frameworks = { 'Accounts', 'FBSDKCoreKit', 'FBSDKLoginKit', 'FBSDKShareKit', },
frameworksOptional = {},
delegates = { 'CoronaFacebookDelegate' }
-- usesSwift = true,
usesSwift = true,
},
}

Expand Down

0 comments on commit 89ef686

Please sign in to comment.