Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagner84 committed Aug 30, 2023
1 parent 00244cd commit 2982d21
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
target:
- { image: "ubuntu:22.04", triple: x86_64-unknown-linux-gnu, glibc: 2.35 }
- { image: "ubuntu:20.04", triple: x86_64-unknown-linux-gnu, glibc: 2.31 }
- { image: "centos:centos8", triple: x86_64-unknown-linux-gnu, glibc: 2.28 }
- { image: "centos:centos7", triple: x86_64-unknown-linux-gnu, glibc: 2.17 }
container:
image: ${{ matrix.target.image }}
Expand Down Expand Up @@ -88,7 +89,6 @@ jobs:
./target/release/pica completions bash > "$staging/pica.bash"
./target/release/pica completions fish > "$staging/pica.fish"
./target/release/pica completions zsh > "$staging/pica.zsh"
# cp "target/release/pica-lint" "$staging/"
tar cfvz "$staging.tar.gz" "$staging/"
echo "filename=$staging.tar.gz" >> $GITHUB_OUTPUT
echo "ASSET_PATH=$staging.tar.gz" >> $GITHUB_ENV
Expand Down Expand Up @@ -216,6 +216,8 @@ jobs:
target:
- { triple: x86_64-unknown-linux-gnu, glibc: 2.17, format: deb }
- { triple: x86_64-unknown-linux-gnu, glibc: 2.17, format: rpm }
- { triple: x86_64-unknown-linux-gnu, glibc: 2.28, format: deb }
- { triple: x86_64-unknown-linux-gnu, glibc: 2.28, format: rpm }
- { triple: x86_64-unknown-linux-gnu, glibc: 2.31, format: deb }
- { triple: x86_64-unknown-linux-gnu, glibc: 2.31, format: rpm }
- { triple: x86_64-unknown-linux-gnu, glibc: 2.35, format: deb }
Expand Down Expand Up @@ -253,12 +255,12 @@ jobs:
matrix:
target:
- { name: "Debian 11", image: "debian:11", glibc: 2.31 }
# - { name: "Debian 10", image: "debian:10", glibc: 2.31 }
- { name: "Debian 10", image: "debian:10", glibc: 2.28 }
- { name: "Ubuntu 22.04", image: "ubuntu:22.04", glibc: 2.35 }
- { name: "Ubuntu 21.10", image: "ubuntu:21.10", glibc: 2.35 }
- { name: "Ubuntu 20.04", image: "ubuntu:20.04", glibc: 2.31 }
- { name: "CentOS 7", image: "centos:7", glibc: 2.17 }
- { name: "CentOS 8", image: "centos:8", glibc: 2.31 }
- { name: "CentOS 8", image: "centos:8", glibc: 2.28 }
steps:
- name: "Download Package (DEB)"
if: ${{ !startsWith(matrix.target.name, 'CentOS') }}
Expand Down

0 comments on commit 2982d21

Please sign in to comment.