Skip to content

Commit 8dc71ac

Browse files
committed
fixup! Add a workflow definition to upload Git for Windows' snapshots
1 parent de67ce8 commit 8dc71ac

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/upload-snapshot.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ jobs:
222222
--target "${{ steps.bundle-artifacts.outputs.git-commit-oid }}" \
223223
--title "${{ steps.bundle-artifacts.outputs.date }}" \
224224
${{ steps.bundle-artifacts.outputs.ver }} \
225-
${{ steps.download-artifacts.outputs.paths }}
225+
${{ steps.download-artifacts.outputs.paths }} &&
226+
echo "::notice::Uploaded snapshot artifacts to https://${{ github.server_url }}/${{ env.OWNER }}/${{ env.SNAPSHOTS_REPO }}/releases/tag/${{ steps.bundle-artifacts.outputs.ver }}"
226227
- name: update check-run
227228
if: env.CREATE_CHECK_RUN != 'false'
228229
uses: ./.github/actions/check-run-action
@@ -253,10 +254,11 @@ jobs:
253254
- name: push gh-pages
254255
run: |
255256
git -C gh-pages \
256-
-c user.author="${{ github.actor }}" \
257+
-c user.name="${{ github.actor }}" \
257258
-c user.email="${{ github.actor }}@noreply.github.com" \
258259
commit -sm "Add snapshot: ${{ steps.bundle-artifacts.outputs.ver }}" &&
259-
git -C gh-pages push
260+
git -C gh-pages push &&
261+
echo "::notice::Updated https://gitforwindows.org/git-snapshots (pending GitHub Pages deployment)"
260262
- name: mark check run as completed
261263
if: env.CREATE_CHECK_RUN != 'false' && always()
262264
uses: ./.github/actions/check-run-action

0 commit comments

Comments
 (0)