From a1435b6f5bb5b7e9a7a546c1aef7a3e47e59f17a Mon Sep 17 00:00:00 2001 From: Lance Pollard Date: Mon, 22 Jan 2024 22:19:24 -0800 Subject: [PATCH] save --- .github/workflows/choco.yaml | 3 ++- readme.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/choco.yaml b/.github/workflows/choco.yaml index d832ed3..ee41590 100644 --- a/.github/workflows/choco.yaml +++ b/.github/workflows/choco.yaml @@ -5,6 +5,7 @@ jobs: # Windows Server 2022 (https://github.com/actions/runner-images) runs-on: windows-2022 environment: build + if: $(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | grep -Fqx choco.json && echo "true") == 'true' steps: - name: Checkout uses: actions/checkout@v3 @@ -21,7 +22,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20.10.x - - name: Set PACKAGE_VERSION + - name: Set ENV vars id: version run: | echo "PACKAGE_VERSION=$(node -p "require('./choco.json').version")" >> $env:GITHUB_ENV diff --git a/readme.md b/readme.md index 4134aff..945ba6b 100644 --- a/readme.md +++ b/readme.md @@ -118,6 +118,7 @@ You don't need to run Docker to develop this, you can just install the tools on - add format commands - add compile commands - add spreadsheet conversion +- create an [ubuntu package](https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/) ## License