File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1616 required : true
1717 default : " 1.0.0"
1818
19+ env :
20+ PR_NAME : ${{ github.event.inputs.name }}
21+ PR_TAG : ${{ github.event.inputs.tag }}
22+ PR_UPDATER_VERSION : ${{ github.event.inputs.updater_version }}
23+
1924jobs :
2025 release :
2126 runs-on : ubuntu-latest
2227 permissions :
2328 contents : write
2429
25- env :
26- PR_NAME : ${{ github.event.inputs.name }}
27- PR_TAG : ${{ github.event.inputs.tag }}
28- UPDATER_VERSION : ${{ github.event.inputs.updater_version }}
29-
3030 steps :
3131 - name : Checkout Repo
3232 uses : actions/checkout@v6
5858 - name : Run Scripts
5959 run : |
6060 ./Scripts/build.sh -p
61- ./Scripts/package.sh -p -s $PR_TAG -u $UPDATER_VERSION
61+ ./Scripts/package.sh -p -s $PR_TAG -u $PR_UPDATER_VERSION
6262 env :
6363 SPARKLE_PRIVATE_KEY : ${{ secrets.SPARKLE_PRIVATE_KEY }}
6464 SPARKLE_PUBLIC_KEY : ${{ secrets.SPARKLE_PUBLIC_KEY }}
Original file line number Diff line number Diff line change 1515 required : true
1616 default : " 1.0.0"
1717
18+ env :
19+ PR_NAME : ${{ github.event.inputs.name }}
20+ PR_TAG : ${{ github.event.inputs.tag }}
21+ PR_UPDATER_VERSION : ${{ github.event.inputs.updater_version }}
22+
1823jobs :
1924 release :
2025 runs-on : ubuntu-latest
2126 permissions :
2227 contents : write
2328 pull-requests : write
2429
25- env :
26- PR_NAME : ${{ github.event.inputs.name }}
27- PR_TAG : ${{ github.event.inputs.tag }}
28- UPDATER_VERSION : ${{ github.event.inputs.updater_version }}
29-
3030 steps :
3131 - name : Checkout Repo
3232 uses : actions/checkout@v6
@@ -54,14 +54,14 @@ jobs:
5454 uses : ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20
5555 with :
5656 tag : " v$PR_TAG"
57- name : $PR_NAME
57+ name : " $PR_NAME"
5858 draft : true
5959 generateReleaseNotesPreviousTag : true
6060
6161 - name : Run Scripts
6262 run : |
6363 ./Scripts/build.sh
64- ./Scripts/package.sh -s $PR_TAG -u $UPDATER_VERSION
64+ ./Scripts/package.sh -s $PR_TAG -u $PR_UPDATER_VERSION
6565 env :
6666 SPARKLE_PRIVATE_KEY : ${{ secrets.SPARKLE_PRIVATE_KEY }}
6767 SPARKLE_PUBLIC_KEY : ${{ secrets.SPARKLE_PUBLIC_KEY }}
9191 git checkout -b "${branch}"
9292
9393 git add .
94- git commit -m "Update Appcasts and Updater for SRMM version $PR_TAG and Updater version $UPDATER_VERSION "
94+ git commit -m "Update Appcasts and Updater for SRMM version $PR_TAG and Updater version $PR_UPDATER_VERSION "
9595 git push origin "${branch}"
9696 env :
9797 GIT_AUTHOR_NAME : github-actions
You can’t perform that action at this time.
0 commit comments