Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
phylum 5.7.2 (#54)
Browse files Browse the repository at this point in the history
Includes changes to the Publish workflow, to get it functional again.

---------

Co-authored-by: Kyle Willmon <[email protected]>
Co-authored-by: Kyle Willmon <[email protected]>
  • Loading branch information
3 people authored Oct 13, 2023
1 parent ed89040 commit 0e5a2f2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@ jobs:
self_hosted: true
runs-on: ${{ matrix.os }}
steps:
- name: Set environment
if: ${{ matrix.self_hosted }}
# This environment variable is not documented, but is needed to
# prevent failures and destructive actions added in this commit:
# https://github.com/Homebrew/actions/commit/616a563beaa0715ddebbb39a331224af1b46fdaa
run: echo "GITHUB_ACTIONS_HOMEBREW_SELF_HOSTED=1" >> "$GITHUB_ENV"

- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
debug: true
- name: Checkout the repository
uses: actions/checkout@v3

- run: brew update
- name: Setup environment
run: |
echo "HOMEBREW_NO_AUTO_UPDATE=1" >> "$GITHUB_ENV"
echo "HOMEBREW_NO_INSTALL_FROM_API=1" >> "$GITHUB_ENV"
echo "HOMEBREW_VERBOSE=1" >> "$GITHUB_ENV"
echo "HOMEBREW_DEBUG=1" >> "$GITHUB_ENV"
brew untap -f phylum-dev/cli || true
TAP_DIR=$(brew --repo phylum-dev/cli)
mkdir -vp $(dirname $TAP_DIR)
ln -vs $GITHUB_WORKSPACE $TAP_DIR
- run: brew config

- run: brew uninstall -f phylum || true

Expand Down
12 changes: 6 additions & 6 deletions Formula/phylum.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
class Phylum < Formula
desc "Software Supply Chain Security CLI"
homepage "https://phylum.io"
url "https://github.com/phylum-dev/cli/archive/refs/tags/v5.7.1.tar.gz"
sha256 "7204be0af570c83f138f6db47d5d843479da4e34cf32e456ee02499dfbee5aed"
url "https://github.com/phylum-dev/cli/archive/refs/tags/v5.7.2.tar.gz"
sha256 "6c9cc2897b9b1ce69220296960ea52812c58a34b2dd882ace4216e990d2e2c68"
license "GPL-3.0-or-later"
head "https://github.com/phylum-dev/cli.git", branch: "main"

bottle do
root_url "https://github.com/phylum-dev/homebrew-cli/releases/download/phylum-5.7.1"
sha256 cellar: :any_skip_relocation, arm64_ventura: "bbfcd3069d311b2fb770f8e57c6c1579d8e2b72685ab5d95f3fd3a7e35593799"
sha256 cellar: :any_skip_relocation, ventura: "0ddb6db66c4ff5fc1669ff5f14b2c036724d4207d48c76ac3d2a163c87ddb3ce"
sha256 cellar: :any_skip_relocation, monterey: "71408e1627a4822db8d829ac25ee07279714646ee379332c3b559c831e9e6a53"
root_url "https://github.com/phylum-dev/homebrew-cli/releases/download/phylum-5.7.2"
sha256 cellar: :any_skip_relocation, arm64_ventura: "cfa9cb8ab2146c45ac525d19f8f63c18304ba96225ae18822478676288a58bb6"
sha256 cellar: :any_skip_relocation, ventura: "d401cab08978d2ea1c8092d3145b8c007584405ca3e8571e5e2237bc5bc9757a"
sha256 cellar: :any_skip_relocation, monterey: "0da0ba69a8552037b0c7a4257d11d0c20d797df5201ce5f55fc9238a338b9702"
end

depends_on "rust" => :build
Expand Down

0 comments on commit 0e5a2f2

Please sign in to comment.