Update .forgejo/workflows/nightly.yml
Some checks failed
/ update (push) Has been cancelled

This commit is contained in:
Lilith Ashley Nyx Arson 🔥 2024-10-02 12:03:50 +00:00
parent 5dccdf0878
commit a99bfe380e

View file

@ -14,17 +14,21 @@ jobs:
fetch-depth: 0
ref: 'main'
- name: "Make archives"
- name: Make archives
run: |
mkdir dist && \
find * -maxdepth 0 -name "pages.*" -exec sh -c "cd {} && zip -qqr ../dist/tldr-{}.zip ." \; && \
cd dist && \
sha256sum -- *.zip > tldr.sha256sums
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- uses: actions/forgejo-release@v1
with:
token: ${{ github.token }}
direction: upload
release-dir: dist
override: true
tag: nightly
tag: nightly-${{ steps.date.outputs.date }}