Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge appcast into Build CI #14

Merged
merged 4 commits into from
Sep 19, 2021
Merged

Merge appcast into Build CI #14

merged 4 commits into from
Sep 19, 2021

Conversation

SkyrilHD
Copy link
Contributor

No description provided.

.github/workflows/main.yml Outdated Show resolved Hide resolved
@vit9696
Copy link
Contributor

vit9696 commented Sep 19, 2021

Could you change:

  • github.repository_owner == 'acidanthera' to github.repository_owner == 'acidanthera' && github.event_name != 'pull_request'
  • github.repository_owner != 'acidanthera' to github.repository_owner != 'acidanthera' || github.event_name == 'pull_request'

In other steps? Otherwise the CI will yell at this PR.

@SkyrilHD
Copy link
Contributor Author

Could you change:

  • github.repository_owner == 'acidanthera' to github.repository_owner == 'acidanthera' && github.event_name != 'pull_request'
  • github.repository_owner != 'acidanthera' to github.repository_owner != 'acidanthera' || github.event_name == 'pull_request'

In other steps? Otherwise the CI will yell at this PR.

Added.

uses: actions/upload-artifact@v2
with:
name: Artifacts
path: build/*/*.dmg

- name: Upload to Release
if: github.event_name == 'release' && github.repository_owner == 'acidanthera'
if: github.event_name == 'release' && github.repository_owner == 'acidanthera' && github.event_name != 'pull_request'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is always true, no need to check for pull_request here and below where there is a release check already.

@vit9696 vit9696 merged commit d147586 into acidanthera:master Sep 19, 2021
@vit9696
Copy link
Contributor

vit9696 commented Sep 19, 2021

Seems to be working well, thanks for your effort!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants