Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhichang committed Dec 25, 2023
1 parent 9048867 commit 6218e9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- name: Set Datetime Variable
run: echo "RELEASE_DATETIME=$(date -d @${{ env.GITHUB_RUN_STARTED }} --rfc-3339=seconds)" >> $GITHUB_ENV

- name: Build source tarball
run: git archive --format=tar HEAD | gzip > archive.tgz

Expand All @@ -24,6 +27,6 @@ jobs:
token: ${{ secrets.MY_GITHUB_TOKEN }} # Use the secret as an environment variable
prerelease: true
tag_name: nightly
body: Nightly build $(date -d @${{ env.GITHUB_RUN_STARTED }} --rfc-3339=seconds) from ${{ github.ref }}
body: Nightly created at ${{ env.RELEASE_DATETIME }}
files: |
*.tgz

0 comments on commit 6218e9f

Please sign in to comment.