Skip to content

Commit

Permalink
fix: Update GitHub Actions to use latest version of chocolatey action
Browse files Browse the repository at this point in the history
Updated the GitHub Actions workflow files to use the latest version (v3) of the chocolatey action instead of v2 for building and pushing images.
  • Loading branch information
marcinbojko committed Sep 23, 2024
1 parent 6ae559a commit 4319719
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/01_build_and_push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Choco pack
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: pack
-
name: Choco install
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install dive -y -s .
-
Expand All @@ -32,15 +32,15 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Choco pack
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: pack
-
name: Choco install
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install dive -y -s .
-
Expand All @@ -50,6 +50,6 @@ jobs:
shell: powershell
-
name: Choco push
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: push --source https://push.chocolatey.org/ -k=${{ secrets.CHOCO_API_KEY }} -v
12 changes: 6 additions & 6 deletions .github/workflows/01_build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Choco pack
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: pack
-
name: Choco install
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install dive -y -s .
- name: dive run
Expand All @@ -34,12 +34,12 @@ jobs:
uses: actions/checkout@v3
-
name: Choco pack
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: pack
-
name: Choco install
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install dive -y -s .
- name: dive run
Expand All @@ -48,7 +48,7 @@ jobs:
shell: powershell
-
name: Choco push
uses: crazy-max/ghaction-chocolatey@v2
uses: crazy-max/ghaction-chocolatey@v3
with:
args: push --source https://www.myget.org/F/public-choco-dev/api/v2/package -k=${{ secrets.MYGET_API_KEY }}

0 comments on commit 4319719

Please sign in to comment.