Skip to content

Commit

Permalink
Update GitVersion action from v0.3 to v0.9.1 (JabRef#6061)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Mar 4, 2020
1 parent 6a4fa61 commit d8e4c11
Showing 1 changed file with 12 additions and 28 deletions.
40 changes: 12 additions & 28 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,16 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v2-beta
with:
fetch-depth: 0
- name: Fetch tags and master for GitVersion
run: |
git fetch --tags origin
git rev-parse --verify master
if (-not $?) {
git branch --force --create-reflog master origin/master
}
shell: pwsh
uses: actions/checkout@v2
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
- name: Install GitVersion
uses: gittools/actions/setup-gitversion@v0.3
uses: gittools/actions/gitversion/setup@v0.9.1
with:
versionSpec: '5.1.2'
versionSpec: '5.1.3'
- name: Run GitVersion
id: gitversion
uses: gittools/actions/execute-gitversion@v0.3
uses: gittools/actions/gitversion/execute@v0.9.1
- name: Set up JDK
uses: actions/setup-java@v1
with:
Expand Down Expand Up @@ -146,24 +138,16 @@ jobs:
needs: [build]
steps:
- name: Checkout source
uses: actions/checkout@v2-beta
with:
fetch-depth: 0
- name: Fetch tags and master for GitVersion
run: |
git fetch --tags origin
git rev-parse --verify master
if (-not $?) {
git branch --force --create-reflog master origin/master
}
shell: pwsh
uses: actions/checkout@v2
- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
- name: Install GitVersion
uses: gittools/actions/setup-gitversion@v0.3
uses: gittools/actions/gitversion/setup@v0.9.1
with:
versionSpec: '5.1.2'
versionSpec: '5.1.3'
- name: Run GitVersion
id: gitversion
uses: gittools/actions/execute-gitversion@v0.3
uses: gittools/actions/gitversion/execute@v0.9.1
- name: Get linux binaries
uses: actions/download-artifact@master
with:
Expand Down

0 comments on commit d8e4c11

Please sign in to comment.