2019-11-21 01:07:59 +00:00
|
|
|
name: CICD
|
|
|
|
|
2019-11-21 05:53:27 +00:00
|
|
|
# spell-checker:ignore CICD MSVC MacOS SHAs clippy esac gnueabihf mkdir musl rustfmt softprops toolchain
|
2019-11-21 01:07:59 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
PROJECT_NAME: lsd
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2019-11-21 02:04:54 +00:00
|
|
|
style:
|
|
|
|
name: Style
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2019-11-24 19:32:55 +00:00
|
|
|
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
2019-11-21 02:04:54 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Install `rust` toolchain
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
|
|
|
override: true
|
|
|
|
profile: minimal # minimal component installation (ie, no documentation)
|
|
|
|
components: rustfmt, clippy
|
|
|
|
- name: "`fmt` testing"
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: fmt
|
|
|
|
args: --all -- --check
|
|
|
|
- name: "`clippy` testing"
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: clippy
|
|
|
|
args: -- -D warnings
|
|
|
|
|
2019-11-21 01:07:59 +00:00
|
|
|
build_linux:
|
2019-11-22 04:24:37 +00:00
|
|
|
name: Build/linux
|
2019-11-21 01:07:59 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
target:
|
2019-11-21 05:09:19 +00:00
|
|
|
- arm-unknown-linux-gnueabihf
|
2019-11-21 01:07:59 +00:00
|
|
|
- i686-unknown-linux-gnu
|
2019-11-21 05:09:19 +00:00
|
|
|
- i686-unknown-linux-musl
|
2019-11-21 01:07:59 +00:00
|
|
|
- x86_64-unknown-linux-gnu
|
|
|
|
- x86_64-unknown-linux-musl
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2019-11-24 19:32:55 +00:00
|
|
|
- name: Initialize workflow variables
|
|
|
|
id: vars
|
2019-11-21 01:07:59 +00:00
|
|
|
shell: bash
|
|
|
|
run: |
|
2019-11-24 19:32:55 +00:00
|
|
|
# determine EXE suffix
|
|
|
|
EXE_suffix=""; case ${{ matrix.target }} in *-pc-windows-*) EXE_suffix=".exe";; esac;
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=EXE_suffix::${EXE_suffix}
|
|
|
|
echo ::set-output name=EXE_suffix::${EXE_suffix}
|
2019-11-24 19:32:55 +00:00
|
|
|
# parse branch/reference info
|
2019-11-21 05:09:19 +00:00
|
|
|
# ref: <https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/td-p/31595/page/2>
|
2019-11-22 04:24:37 +00:00
|
|
|
REF_NAME=${GITHUB_REF#refs/*/}
|
|
|
|
unset REF_BRANCH; case ${GITHUB_REF} in refs/heads/*) REF_BRANCH=${GITHUB_REF#refs/heads/};; esac;
|
|
|
|
unset REF_TAG; case ${GITHUB_REF} in refs/tags/*) REF_TAG=${GITHUB_REF#refs/tags/};; esac;
|
|
|
|
REF_SHAS=${GITHUB_SHA:0:8}
|
|
|
|
PKG_NAME=${PROJECT_NAME}-${REF_TAG:-$REF_SHAS}-${{ matrix.target }}${EXE_suffix}
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=REF_NAME::${REF_NAME}
|
|
|
|
echo set-output name=REF_BRANCH::${REF_BRANCH}
|
|
|
|
echo set-output name=REF_TAG::${REF_TAG}
|
|
|
|
echo set-output name=REF_SHAS::${REF_SHAS}
|
|
|
|
echo set-output name=PKG_NAME::${PKG_NAME}
|
2019-11-22 04:24:37 +00:00
|
|
|
echo ::set-output name=REF_NAME::${REF_NAME}
|
|
|
|
echo ::set-output name=REF_BRANCH::${REF_BRANCH}
|
|
|
|
echo ::set-output name=REF_TAG::${REF_TAG}
|
|
|
|
echo ::set-output name=REF_SHAS::${REF_SHAS}
|
2019-11-21 05:53:27 +00:00
|
|
|
echo ::set-output name=PKG_NAME::${PKG_NAME}
|
2019-11-24 19:32:55 +00:00
|
|
|
# deployable tag? (ie, leading "vM" or "M"; M == version number)
|
|
|
|
unset DEPLOY; if [[ $REF_TAG =~ ^[vV]?[0-9].* ]]; then DEPLOY=true; fi
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=DEPLOY::${DEPLOY}
|
2019-11-24 19:32:55 +00:00
|
|
|
echo ::set-output name=DEPLOY::${DEPLOY}
|
|
|
|
# target-specific options
|
|
|
|
# * test only binary for arm-type targets
|
|
|
|
unset CARGO_TEST_OPTIONS; case ${{ matrix.target }} in arm-*) CARGO_TEST_OPTIONS="--bin ${PROJECT_NAME}";; esac;
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=CARGO_TEST_OPTIONS::${CARGO_TEST_OPTIONS}
|
2019-11-24 19:32:55 +00:00
|
|
|
echo ::set-output name=CARGO_TEST_OPTIONS::${CARGO_TEST_OPTIONS}
|
2019-11-24 20:28:57 +00:00
|
|
|
# * strip final executable?
|
|
|
|
STRIP="strip"; case ${{ matrix.target }} in arm-*) STRIP="";; *-pc-windows-*) STRIP="";; esac;
|
|
|
|
echo set-output name=STRIP::${STRIP}
|
|
|
|
echo ::set-output name=STRIP::${STRIP}
|
2019-11-21 05:53:27 +00:00
|
|
|
- name: Create all needed build/work directories
|
|
|
|
shell: bash
|
|
|
|
run: mkdir -p 'package'
|
|
|
|
- name: Install `rust` toolchain
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
|
|
|
target: ${{ matrix.target }}
|
|
|
|
override: true
|
|
|
|
profile: minimal # minimal component installation (ie, no documentation)
|
|
|
|
- name: Build
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
use-cross: true
|
|
|
|
command: build
|
|
|
|
args: --release --target=${{ matrix.target }}
|
|
|
|
- name: Test
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
use-cross: true
|
|
|
|
command: test
|
2019-11-24 19:32:55 +00:00
|
|
|
args: --target=${{ matrix.target }} ${{ steps.vars.outputs.CARGO_TEST_OPTIONS}}
|
2019-11-21 05:53:27 +00:00
|
|
|
- name: Archive executable artifacts
|
|
|
|
uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: ${{ env.PROJECT_NAME }}-${{ matrix.target }}
|
2019-11-24 21:43:26 +00:00
|
|
|
path: target/${{ matrix.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}
|
2019-11-21 05:53:27 +00:00
|
|
|
- name: Package
|
|
|
|
shell: bash
|
2019-11-24 20:28:57 +00:00
|
|
|
run: |
|
|
|
|
cp 'target/${{ matrix.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}' 'package/${{ steps.vars.outputs.PKG_NAME }}'
|
|
|
|
if [ -n "${{ steps.vars.outputs.STRIP }}" ]; then "${{ steps.vars.outputs.STRIP }}" 'package/${{ steps.vars.outputs.PKG_NAME }}'; fi
|
2019-11-21 05:53:27 +00:00
|
|
|
- name: Publish
|
|
|
|
uses: softprops/action-gh-release@v1
|
2019-11-24 19:32:55 +00:00
|
|
|
if: steps.vars.outputs.DEPLOY
|
2019-11-21 05:53:27 +00:00
|
|
|
with:
|
2019-11-24 19:32:55 +00:00
|
|
|
files: package/${{ steps.vars.outputs.PKG_NAME }}
|
2019-11-21 05:53:27 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
build_mac:
|
2019-11-22 04:24:37 +00:00
|
|
|
name: Build/mac
|
2019-11-21 05:53:27 +00:00
|
|
|
runs-on: macos-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
target:
|
2019-11-24 19:32:55 +00:00
|
|
|
- i686-apple-darwin
|
2019-11-21 05:53:27 +00:00
|
|
|
- x86_64-apple-darwin
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2019-11-24 19:32:55 +00:00
|
|
|
- name: Initialize workflow variables
|
|
|
|
id: vars
|
2019-11-21 05:53:27 +00:00
|
|
|
shell: bash
|
|
|
|
run: |
|
2019-11-24 19:32:55 +00:00
|
|
|
# determine EXE suffix
|
|
|
|
EXE_suffix=""; case ${{ matrix.target }} in *-pc-windows-*) EXE_suffix=".exe";; esac;
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=EXE_suffix::${EXE_suffix}
|
|
|
|
echo ::set-output name=EXE_suffix::${EXE_suffix}
|
2019-11-24 19:32:55 +00:00
|
|
|
# parse branch/reference info
|
2019-11-21 05:53:27 +00:00
|
|
|
# ref: <https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/td-p/31595/page/2>
|
2019-11-22 04:24:37 +00:00
|
|
|
REF_NAME=${GITHUB_REF#refs/*/}
|
|
|
|
unset REF_BRANCH; case ${GITHUB_REF} in refs/heads/*) REF_BRANCH=${GITHUB_REF#refs/heads/};; esac;
|
|
|
|
unset REF_TAG; case ${GITHUB_REF} in refs/tags/*) REF_TAG=${GITHUB_REF#refs/tags/};; esac;
|
|
|
|
REF_SHAS=${GITHUB_SHA:0:8}
|
|
|
|
PKG_NAME=${PROJECT_NAME}-${REF_TAG:-$REF_SHAS}-${{ matrix.target }}${EXE_suffix}
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=REF_NAME::${REF_NAME}
|
|
|
|
echo set-output name=REF_BRANCH::${REF_BRANCH}
|
|
|
|
echo set-output name=REF_TAG::${REF_TAG}
|
|
|
|
echo set-output name=REF_SHAS::${REF_SHAS}
|
|
|
|
echo set-output name=PKG_NAME::${PKG_NAME}
|
2019-11-22 04:24:37 +00:00
|
|
|
echo ::set-output name=REF_NAME::${REF_NAME}
|
|
|
|
echo ::set-output name=REF_BRANCH::${REF_BRANCH}
|
|
|
|
echo ::set-output name=REF_TAG::${REF_TAG}
|
|
|
|
echo ::set-output name=REF_SHAS::${REF_SHAS}
|
2019-11-21 05:09:19 +00:00
|
|
|
echo ::set-output name=PKG_NAME::${PKG_NAME}
|
2019-11-24 19:32:55 +00:00
|
|
|
# deployable tag? (ie, leading "vM" or "M"; M == version number)
|
|
|
|
unset DEPLOY; if [[ $REF_TAG =~ ^[vV]?[0-9].* ]]; then DEPLOY=true; fi
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=DEPLOY::${DEPLOY}
|
2019-11-24 19:32:55 +00:00
|
|
|
echo ::set-output name=DEPLOY::${DEPLOY}
|
|
|
|
# target-specific options
|
|
|
|
# * test only binary for arm-type targets
|
|
|
|
unset CARGO_TEST_OPTIONS; case ${{ matrix.target }} in arm-*) CARGO_TEST_OPTIONS="--bin ${PROJECT_NAME}";; esac;
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=CARGO_TEST_OPTIONS::${CARGO_TEST_OPTIONS}
|
2019-11-24 19:32:55 +00:00
|
|
|
echo ::set-output name=CARGO_TEST_OPTIONS::${CARGO_TEST_OPTIONS}
|
2019-11-24 20:28:57 +00:00
|
|
|
# * strip final executable?
|
|
|
|
STRIP="strip"; case ${{ matrix.target }} in arm-*) STRIP="";; *-pc-windows-*) STRIP="";; esac;
|
|
|
|
echo set-output name=STRIP::${STRIP}
|
|
|
|
echo ::set-output name=STRIP::${STRIP}
|
2019-11-21 01:07:59 +00:00
|
|
|
- name: Create all needed build/work directories
|
|
|
|
shell: bash
|
|
|
|
run: mkdir -p 'package'
|
|
|
|
- name: Install `rust` toolchain
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
|
|
|
target: ${{ matrix.target }}
|
|
|
|
override: true
|
|
|
|
profile: minimal # minimal component installation (ie, no documentation)
|
|
|
|
- name: Build
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
use-cross: true
|
|
|
|
command: build
|
|
|
|
args: --release --target=${{ matrix.target }}
|
|
|
|
- name: Test
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
use-cross: true
|
|
|
|
command: test
|
2019-11-24 19:32:55 +00:00
|
|
|
args: --target=${{ matrix.target }} ${{ steps.vars.outputs.CARGO_TEST_OPTIONS}}
|
2019-11-21 01:07:59 +00:00
|
|
|
- name: Archive executable artifacts
|
|
|
|
uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: ${{ env.PROJECT_NAME }}-${{ matrix.target }}
|
2019-11-24 21:43:26 +00:00
|
|
|
path: target/${{ matrix.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}
|
2019-11-21 01:07:59 +00:00
|
|
|
- name: Package
|
|
|
|
shell: bash
|
2019-11-24 20:28:57 +00:00
|
|
|
run: |
|
|
|
|
cp 'target/${{ matrix.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}' 'package/${{ steps.vars.outputs.PKG_NAME }}'
|
|
|
|
if [ -n "${{ steps.vars.outputs.STRIP }}" ]; then "${{ steps.vars.outputs.STRIP }}" 'package/${{ steps.vars.outputs.PKG_NAME }}'; fi
|
2019-11-21 01:07:59 +00:00
|
|
|
- name: Publish
|
|
|
|
uses: softprops/action-gh-release@v1
|
2019-11-24 19:32:55 +00:00
|
|
|
if: steps.vars.outputs.DEPLOY
|
2019-11-21 01:07:59 +00:00
|
|
|
with:
|
2019-11-24 19:32:55 +00:00
|
|
|
files: package/${{ steps.vars.outputs.PKG_NAME }}
|
2019-11-21 01:07:59 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
build_windows:
|
2019-11-22 04:24:37 +00:00
|
|
|
name: Build/windows
|
2019-11-21 01:07:59 +00:00
|
|
|
runs-on: windows-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
target:
|
|
|
|
# - i686-pc-windows-gnu
|
|
|
|
- i686-pc-windows-msvc
|
|
|
|
# - x86_64-pc-windows-gnu
|
|
|
|
- x86_64-pc-windows-msvc
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2019-11-24 19:32:55 +00:00
|
|
|
- name: Initialize workflow variables
|
|
|
|
id: vars
|
2019-11-21 01:07:59 +00:00
|
|
|
shell: bash
|
|
|
|
run: |
|
2019-11-24 19:32:55 +00:00
|
|
|
# determine EXE suffix
|
|
|
|
EXE_suffix=""; case ${{ matrix.target }} in *-pc-windows-*) EXE_suffix=".exe";; esac;
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=EXE_suffix::${EXE_suffix}
|
|
|
|
echo ::set-output name=EXE_suffix::${EXE_suffix}
|
2019-11-24 19:32:55 +00:00
|
|
|
# parse branch/reference info
|
2019-11-21 05:09:19 +00:00
|
|
|
# ref: <https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/td-p/31595/page/2>
|
2019-11-22 04:24:37 +00:00
|
|
|
REF_NAME=${GITHUB_REF#refs/*/}
|
|
|
|
unset REF_BRANCH; case ${GITHUB_REF} in refs/heads/*) REF_BRANCH=${GITHUB_REF#refs/heads/};; esac;
|
|
|
|
unset REF_TAG; case ${GITHUB_REF} in refs/tags/*) REF_TAG=${GITHUB_REF#refs/tags/};; esac;
|
|
|
|
REF_SHAS=${GITHUB_SHA:0:8}
|
|
|
|
PKG_NAME=${PROJECT_NAME}-${REF_TAG:-$REF_SHAS}-${{ matrix.target }}${EXE_suffix}
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=REF_NAME::${REF_NAME}
|
|
|
|
echo set-output name=REF_BRANCH::${REF_BRANCH}
|
|
|
|
echo set-output name=REF_TAG::${REF_TAG}
|
|
|
|
echo set-output name=REF_SHAS::${REF_SHAS}
|
|
|
|
echo set-output name=PKG_NAME::${PKG_NAME}
|
2019-11-22 04:24:37 +00:00
|
|
|
echo ::set-output name=REF_NAME::${REF_NAME}
|
|
|
|
echo ::set-output name=REF_BRANCH::${REF_BRANCH}
|
|
|
|
echo ::set-output name=REF_TAG::${REF_TAG}
|
|
|
|
echo ::set-output name=REF_SHAS::${REF_SHAS}
|
2019-11-21 05:09:19 +00:00
|
|
|
echo ::set-output name=PKG_NAME::${PKG_NAME}
|
2019-11-24 19:32:55 +00:00
|
|
|
# deployable tag? (ie, leading "vM" or "M"; M == version number)
|
|
|
|
unset DEPLOY; if [[ $REF_TAG =~ ^[vV]?[0-9].* ]]; then DEPLOY=true; fi
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=DEPLOY::${DEPLOY}
|
2019-11-24 19:32:55 +00:00
|
|
|
echo ::set-output name=DEPLOY::${DEPLOY}
|
|
|
|
# target-specific options
|
|
|
|
# * test only binary for arm-type targets
|
|
|
|
unset CARGO_TEST_OPTIONS; case ${{ matrix.target }} in arm-*) CARGO_TEST_OPTIONS="--bin ${PROJECT_NAME}";; esac;
|
2019-11-24 21:22:55 +00:00
|
|
|
echo set-output name=CARGO_TEST_OPTIONS::${CARGO_TEST_OPTIONS}
|
2019-11-24 19:32:55 +00:00
|
|
|
echo ::set-output name=CARGO_TEST_OPTIONS::${CARGO_TEST_OPTIONS}
|
2019-11-24 20:28:57 +00:00
|
|
|
# * strip final executable?
|
|
|
|
STRIP="strip"; case ${{ matrix.target }} in arm-*) STRIP="";; *-pc-windows-*) STRIP="";; esac;
|
|
|
|
echo set-output name=STRIP::${STRIP}
|
|
|
|
echo ::set-output name=STRIP::${STRIP}
|
2019-11-21 01:07:59 +00:00
|
|
|
- name: Create all needed build/work directories
|
|
|
|
shell: bash
|
|
|
|
run: mkdir -p 'package'
|
|
|
|
- name: Install `rust` toolchain
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: stable
|
|
|
|
target: ${{ matrix.target }}
|
|
|
|
override: true
|
|
|
|
profile: minimal # minimal component installation (ie, no documentation)
|
|
|
|
- name: Build
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
use-cross: true
|
|
|
|
command: build
|
|
|
|
args: --release --target=${{ matrix.target }}
|
|
|
|
- name: Test
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
use-cross: true
|
|
|
|
command: test
|
2019-11-24 19:32:55 +00:00
|
|
|
args: --target=${{ matrix.target }} ${{ steps.vars.outputs.CARGO_TEST_OPTIONS}}
|
2019-11-21 01:07:59 +00:00
|
|
|
- name: Archive executable artifacts
|
|
|
|
uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: ${{ env.PROJECT_NAME }}-${{ matrix.target }}
|
2019-11-24 21:43:26 +00:00
|
|
|
path: target/${{ matrix.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}
|
2019-11-21 01:07:59 +00:00
|
|
|
- name: Package
|
|
|
|
shell: bash
|
2019-11-24 20:28:57 +00:00
|
|
|
run: |
|
|
|
|
cp 'target/${{ matrix.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}' 'package/${{ steps.vars.outputs.PKG_NAME }}'
|
|
|
|
if [ -n "${{ steps.vars.outputs.STRIP }}" ]; then "${{ steps.vars.outputs.STRIP }}" 'package/${{ steps.vars.outputs.PKG_NAME }}'; fi
|
2019-11-21 01:07:59 +00:00
|
|
|
- name: Publish
|
|
|
|
uses: softprops/action-gh-release@v1
|
2019-11-24 19:32:55 +00:00
|
|
|
if: steps.vars.outputs.DEPLOY
|
2019-11-21 01:07:59 +00:00
|
|
|
with:
|
2019-11-24 19:32:55 +00:00
|
|
|
files: package/${{ steps.vars.outputs.PKG_NAME }}
|
2019-11-21 01:07:59 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|