Skip to content

Commit

Permalink
Update node-small.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
catusf authored Nov 14, 2024
1 parent 1480f64 commit 831ac5c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/node-small.js.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Build all fonts with SMALL data set
name: Build all fonts with small data set

concurrency:
group: ${{ github.workflow }}
Expand All @@ -19,7 +16,6 @@ env:

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -45,14 +41,17 @@ jobs:
run: zip -9 -j output/all_fonts.zip output/*.ttf &&
ls output/*.zip -ll

- name: Set the release date
id: set_date
run: echo "RELEASE_DATE=$(date +'%Y-%m-%d_%H-%M-%S')" >> $GITHUB_ENV

- name: Create a new release draft
id: create_release
uses: ncipollo/release-action@v1
with:
artifacts: output/all_fonts.zip
body: If you can read this, we have forgotten to fill in the changelog. Sorry!
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
draft: true
name: Release-Small-${{ github.ref_name }}-$(date +'%Y-%m-%d_%H-%M-%S')

artifacts: output/all_fonts.zip
body: If you can read this, we have forgotten to fill in the changelog. Sorry!
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
draft: true
name: Release-Small-${{ github.ref_name }}-${{ env.RELEASE_DATE }}

0 comments on commit 831ac5c

Please sign in to comment.