|
5 | 5 | push: |
6 | 6 | branches: |
7 | 7 | - arm64mac-release |
8 | | - |
| 8 | + |
9 | 9 |
|
10 | 10 | env: |
11 | 11 | SpringerNatureAPIKey: ${{ secrets.SpringerNatureAPIKey }} |
@@ -49,14 +49,13 @@ jobs: |
49 | 49 | uses: actions/checkout@v3 |
50 | 50 | with: |
51 | 51 | fetch-depth: 0 |
| 52 | + - name: Install GitVersion |
| 53 | + uses: gittools/actions/gitversion/[email protected] |
| 54 | + with: |
| 55 | + versionSpec: "5.x" |
52 | 56 | - name: Run GitVersion |
53 | 57 | id: gitversion |
54 | | - shell: bash |
55 | | - run: | |
56 | | - echo "AssemblySemVer=5.9.60000" >> $GITHUB_OUTPUT |
57 | | - echo "InformationalVersion=5.9--`git log -1 --pretty='format:%cd' --date=format:'%Y-%m-%d'`--`git log -1 --format=%h`" >> $GITHUB_OUTPUT |
58 | | - echo "Major=5" >> $GITHUB_OUTPUT |
59 | | - echo "Minor=9" >> $GITHUB_OUTPUT |
| 58 | + uses: gittools/actions/gitversion/[email protected] |
60 | 59 | - name: Set up JDK |
61 | 60 | uses: actions/setup-java@v3 |
62 | 61 | with: |
|
66 | 65 | - name: Clean up keychain |
67 | 66 | if: (matrix.os == 'self-hosted') && (steps.checksecrets.outputs.secretspresent == 'YES') |
68 | 67 | run: | |
69 | | - security delete-keychain signing_temp.keychain |
| 68 | + security delete-keychain signing_temp.keychain |
70 | 69 | - name: Setup OSX key chain on OSX |
71 | 70 | if: (matrix.os == 'macos-latest' || matrix.os == 'self-hosted') && (steps.checksecrets.outputs.secretspresent == 'YES') |
72 | 71 | uses: apple-actions/import-codesign-certs@v1 |
@@ -160,7 +159,7 @@ jobs: |
160 | 159 | uses: actions/download-artifact@master |
161 | 160 | with: |
162 | 161 | name: JabRef-macOS (Arm64) |
163 | | - path: build/distribution/ |
| 162 | + path: build/distribution/ |
164 | 163 | - name: Deploy to builds.jabref.org |
165 | 164 | id: deploy |
166 | 165 | if: steps.checksecrets.outputs.secretspresent == 'YES' |
|
0 commit comments