Skip to content

Commit 6f7bddd

Browse files
committed
Update env
1 parent 3bad15d commit 6f7bddd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/daily-release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
paths:
66
- .github/workflows/daily-release.yaml
7-
schedule:
8-
- cron: 00 03 * * *
7+
# schedule:
8+
# - cron: 00 03 * * *
99

1010
jobs:
1111
build:
@@ -87,16 +87,16 @@ jobs:
8787
- name: Create release
8888
uses: actions/create-release@v1
8989
env:
90-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
90+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9191
with:
9292
tag_name: ${{ steps.compute-hash.outputs.release-tag-name }}
93-
release_name: Daily build $GITHUB_REF
93+
release_name: Daily build ${{ github.ref }}
9494
body: |
9595
This build will be updated daily. **Please do not use this build in production environment.**
9696
9797
| Build time | Run ID | Source version | Git ref | Package version |
9898
| - | - | - | - | - |
99-
| ${{ steps.compute-hash.outputs.build-date }} | [`$GITHUB_RUN_ID`](${{ $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID }}) | [$GITHUB_SHA]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/commit/$GITHUB_SHA) | `$GITHUB_REF` | `${{ steps.compute-hash.outputs.package-version }}` |
99+
| ${{ steps.compute-hash.outputs.build-date }} | [`${{ github.run_id }}`](${{ env.GITHUB_SERVER_URL }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) | [${{ github.sha }}](${{ env.GITHUB_SERVER_URL }}/${{ github.repository }}/commit/${{ github.sha }}) | `${{ github.ref }}` | `${{ steps.compute-hash.outputs.package-version }}` |
100100
101101
```html
102102
<script

0 commit comments

Comments
 (0)