Skip to content

Commit

Permalink
Merge pull request #48 from puerco/update-zeitgeist
Browse files Browse the repository at this point in the history
update zeitgeist to v0.4.3
  • Loading branch information
puerco authored Nov 14, 2023
2 parents 5697f63 + 3e7e1d7 commit dd08496
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-setup-zeitgeist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
go_version:
- '1.19'
- '1.20'
- '1.21'
name: Try to install zeitgeist with go ${{ matrix.go_version }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
11 changes: 4 additions & 7 deletions publish-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,16 @@ inputs:
description: "Assets to upload to the release page (see readme)."
type: string
required: false

draft:
description: "Mark the release as draft"
type: boolean
required: false
default: false

sbom:
sbom:
description: "Generate an SBOM from the code"
type: boolean
required: false
default: true

template:
description: "Release template file"
required: false
Expand All @@ -61,17 +58,17 @@ runs:
# Go is required to compute dependencies
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v3.3.0
with:
go-version: '1.20'
go-version: '1.21'
check-latest: true

- shell: bash
run: |
#!/usr/bin/env bash
if [ "${{ inputs.draft }}" = "true" ]; then
draft="--draft"
fi
IFS='|' read -r -a assets <<< "${{ inputs.assets }}";
publish-release github \
Expand Down
14 changes: 7 additions & 7 deletions setup-zeitgeist/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ inputs:
zeitgeist-release:
description: 'zeitgeist release version to be installed'
required: false
default: '0.4.1'
default: '0.4.3'
install-dir:
description: 'Where to install the zeitgeist binary'
required: false
Expand Down Expand Up @@ -71,15 +71,15 @@ runs:
Linux)
case ${{ runner.arch }} in
X64)
desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_linux_amd64'
desired_zeitgeist_filename='zeitgeist-amd64-linux'
;;
ARM)
desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_linux_arm'
desired_zeitgeist_filename='zeitgeist-arm-linux'
;;
ARM64)
desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_linux_arm64'
desired_zeitgeist_filename='zeitgeist-arm64-linux'
;;
*)
Expand All @@ -92,11 +92,11 @@ runs:
macOS)
case ${{ runner.arch }} in
X64)
desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_darwin_amd64'
desired_zeitgeist_filename='zeitgeist-amd64-darwin'
;;
ARM64)
desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_darwin_arm64'
desired_zeitgeist_filename='zeitgeist-arm64-darwin'
;;
*)
Expand All @@ -109,7 +109,7 @@ runs:
Windows)
case ${{ runner.arch }} in
X64)
desired_zeitgeist_filename='zeitgeist_${{ inputs.zeitgeist-release }}_windows_amd64.exe'
desired_zeitgeist_filename='zeitgeist-amd64-windows.exe'
zeitgeist_executable_name=zeitgeist.exe
;;
*)
Expand Down

0 comments on commit dd08496

Please sign in to comment.