Skip to content

Commit

Permalink
Merge 7c79cb2 into 21368b6
Browse files Browse the repository at this point in the history
  • Loading branch information
gavlyukovskiy committed Jul 17, 2020
2 parents 21368b6 + 7c79cb2 commit 6c4fbaa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/configuration/ci_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,21 @@ you need to override branch name with `overriddenBranchName` flag and set it to
-Prelease.disableChecks \
-Prelease.pushTagsOnly \
-Prelease.overriddenBranchName=$(Build.SourceBranch)

## GitHub Actions

Your workflow needs to use `actions/checkout@v2` with configuration to [fetch tags](https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches):

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

In order to push tags into the repository release step must use GitHub actor and token:

- name: Release
id: release
run: |
./gradlew release \
-Prelease.customUsername=${{ github.actor }} \
-Prelease.customPassword=${{ github.token }}

0 comments on commit 6c4fbaa

Please sign in to comment.