Skip to content

Commit

Permalink
Merge pull request #50 from arthurpalves/action
Browse files Browse the repository at this point in the history
Fixes for Github Action
  • Loading branch information
arthurpalves authored Feb 24, 2021
2 parents 3a32c41 + 685c3f2 commit 29c05e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ main ]
env:
DEVELOPER_DIR: /Applications/Xcode_12.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
GITHUB_TOKEN: ${{ secrets.PAT }}

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ action ]
env:
DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
GITHUB_TOKEN: ${{ secrets.PAT }}

jobs:
Expand All @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: arthurpalves/[email protected].9
- uses: arthurpalves/[email protected].10
with:
source: Sources/
minimum_threshold: 60
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ runs:
shell: bash
run: |
cd ${{ github.action_path }}
make githubci-install
make githubci-install
if [[ ${{ inputs.only_changes }} == 'true' ]]; then
swift run coherent-swift report -d -s _coherent-swift.yml
coherent-swift report -d -s _coherent-swift.yml
else
swift run coherent-swift report -s _coherent-swift.yml
coherent-swift report -s _coherent-swift.yml
fi

0 comments on commit 29c05e8

Please sign in to comment.