Skip to content

Commit

Permalink
Github action: configured package upload
Browse files Browse the repository at this point in the history
  • Loading branch information
abbyssoul committed Mar 17, 2020
1 parent ec5507c commit 7ef2fdc
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/conan-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,22 @@ name: Build conan package
on:
push:
tags:
- 'x*'
branches: [ feature/release-workflow ]
- 'v*'

jobs:
build:
strategy:
matrix:
# gcc_version: [8, 9]
# build_arch: [x86_64, armv7, armv7hf]

docker_image:
# - conanio/gcc8
# - conanio/gcc8-armv7
# - conanio/gcc8-armv7hf
# - conanio/gcc9
# - conanio/gcc9-armv7
- conanio/gcc8
- conanio/gcc8-armv7
- conanio/gcc8-armv7hf
- conanio/gcc9
- conanio/gcc9-armv7
- conanio/gcc9-armv7hf
- conanio/clang7
# - conanio/clang8
# - conanio/clang9
- conanio/clang8
- conanio/clang9

include:
- docker_image: conanio/gcc8
Expand Down Expand Up @@ -53,13 +49,11 @@ jobs:
clang_version: 9
build_arch: x86_64

#exclude:
#- os: macOS-latest

runs-on: ubuntu-latest
env:
CONAN_USERNAME: "abbyssoul"
CONAN_LOGIN_USERNAME: "abbyssoul"
CONAN_PASSWORD: ${{ secrets.conan_key }}
CONAN_CHANNEL: "stable"
CONAN_UPLOAD: "https://api.bintray.com/conan/abbyssoul/public-conan"
CONAN_BUILD_POLICY: outdated
Expand Down Expand Up @@ -93,6 +87,7 @@ jobs:
env:
CONAN_USERNAME: "abbyssoul"
CONAN_LOGIN_USERNAME: "abbyssoul"
CONAN_PASSWORD: ${{ secrets.conan_key }}
CONAN_CHANNEL: "stable"
CONAN_UPLOAD: "https://api.bintray.com/conan/abbyssoul/public-conan"
CONAN_APPLE_CLANG_VERSIONS: "11.0"
Expand Down

0 comments on commit 7ef2fdc

Please sign in to comment.