Skip to content

Commit

Permalink
chore: install with snap
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed Dec 18, 2024
1 parent 2c63e7a commit 43ae0dc
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/dockerhub-release-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:

- name: Install Nushell
run: |
sudo apt update
sudo apt install -y nushell
sudo snap install nushell --classic
- name: Generate build matrix
id: set-matrix
Expand Down Expand Up @@ -55,6 +54,10 @@ jobs:
build_args: ${{ steps.args.outputs.result }}
steps:
- uses: actions/checkout@v3

- name: Install Nushell
run: |
sudo snap install nushell --classic
- name: Set PostgreSQL version environment variable
run: echo "POSTGRES_MAJOR_VERSION=${{ matrix.version }}" >> $GITHUB_ENV
Expand Down Expand Up @@ -87,6 +90,9 @@ jobs:
timeout-minutes: 180
steps:
- uses: actions/checkout@v3
- name: Install Nushell
run: |
sudo snap install nushell --classic
- run: docker context create builders
- uses: docker/setup-buildx-action@v3
with:
Expand Down Expand Up @@ -137,6 +143,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nushell
run: |
sudo snap install nushell --classic
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v2
with:
Expand Down Expand Up @@ -170,6 +179,9 @@ jobs:
matrix: ${{ steps.get_versions.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- name: Install Nushell
run: |
sudo snap install nushell --classic
- name: Get version
id: get_versions
run: |
Expand All @@ -192,4 +204,4 @@ jobs:
uses: ./.github/workflows/mirror.yml
with:
version: ${{ matrix.version }}
secrets: inherit
secrets: inherit

0 comments on commit 43ae0dc

Please sign in to comment.