From a4b322f8c0e448c8129ff127c682ede90b4c7afd Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Mon, 27 Feb 2023 12:27:48 +0000 Subject: [PATCH] Only make dist Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- Makefile | 2 +- README.md | 4 ++++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61f3f7d..2596444 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,5 +19,5 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.19.x - - name: Make all - run: make all + - name: Make dist + run: make dist diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b9b69e3..8daa5ca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,8 +16,8 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.19.x - - name: Make all - run: make all + - name: Make dist + run: make dist - name: Upload release binaries uses: alexellis/upload-assets@0.4.0 env: diff --git a/Makefile b/Makefile index b8775e2..83991b9 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ export GO111MODULE=on export LDFLAGS="-s -w" .PHONY: all -all: gofmt test build dist hash +all: gofmt test build dist .PHONY: build build: diff --git a/README.md b/README.md index 40b552b..e0a51f5 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ Includes total runtime of all workflow runs and workflow jobs, including where t Or create a [Classic Token](https://github.com/settings/tokens) with: repo and admin:org and save it to ~/pat.txt. Create a short lived duration for good measure. +Download a binary from the [releases page](https://github.com/self-actuated/actions-usage/releases/tag/v0.0.1) + +Or clone the source and run it: + ```bash git clone https://github.com/actuated/actions-usage --depth=1 cd actions-usage