This commit is contained in:
parent
5dccdf0878
commit
a99bfe380e
1 changed files with 6 additions and 2 deletions
|
@ -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 }}
|
Loading…
Add table
Reference in a new issue