2021-02-10 10:21:44 +13:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2021-08-09 12:52:33 +12:00
|
|
|
container: tonsky/firacode:latest
|
2021-02-10 10:21:44 +13:00
|
|
|
steps:
|
2021-08-09 12:26:47 +12:00
|
|
|
- uses: actions/checkout@v2
|
2021-08-09 12:52:33 +12:00
|
|
|
- run: echo ${GITHUB_REF#refs/heads/}
|
|
|
|
- run: echo "version=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV
|
2021-08-09 12:26:47 +12:00
|
|
|
- run: ./script/build.sh
|
|
|
|
- uses: actions/upload-artifact@v2
|
2021-02-10 10:21:44 +13:00
|
|
|
with:
|
2021-08-09 12:52:33 +12:00
|
|
|
name: Fira_Code_${{ env.version }}
|
2021-02-10 10:21:44 +13:00
|
|
|
path: distr
|