Skip to content

Commit

Permalink
Restrict to just 8.0.36 so as to not overwrite existing artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
staktrace committed Jan 18, 2024
1 parent d30fe02 commit 91015fb
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/mysql-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,6 @@ on:
branches:
- mysql
jobs:
mysql-client-macos11:
strategy:
matrix:
binary: [mysql, mysqladmin]
arch: [x86_64, arm64]
version: [8.0.27, 8.0.28]
name: Make a lightweight package for the ${{ matrix.arch }} ${{ matrix.binary }} blnary v${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- name: Download source package
run: curl -SsfL "https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-${{ matrix.version }}-macos11-${{ matrix.arch }}.tar.gz" -o mysql-client.tar.gz
- name: Unpack source package
run: tar xzf mysql-client.tar.gz
- name: Remove unwanted binaries
run: pushd mysql-${{ matrix.version }}-macos11-${{ matrix.arch }}/bin/ && (ls -1 | grep -v '^${{ matrix.binary }}$' | xargs rm) && popd
- name: Repack package
run: tar czf ${{ matrix.binary }}-${{ matrix.version }}-macos11-${{ matrix.arch }}.tar.gz mysql-${{ matrix.version }}-macos11-${{ matrix.arch }}
- name: Upload Release
uses: ncipollo/release-action@v1
with:
tag: mysql-client
allowUpdates: true
artifacts: ${{ matrix.binary }}-${{ matrix.version }}-macos11-${{ matrix.arch }}.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}
mysql-client-macos14:
strategy:
matrix:
Expand Down

0 comments on commit 91015fb

Please sign in to comment.