mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 21:24:27 +02:00
build: Secrets are not available in GitHub Actions run after Pull Request
This commit is contained in:
10
.github/workflows/ci-conan.yml
vendored
10
.github/workflows/ci-conan.yml
vendored
@@ -20,7 +20,7 @@
|
|||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
name: mp-units Conan CI
|
name: Conan CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -48,13 +48,13 @@ jobs:
|
|||||||
- name: Install Conan
|
- name: Install Conan
|
||||||
run: |
|
run: |
|
||||||
pip install -U conan_package_tools
|
pip install -U conan_package_tools
|
||||||
- name: Run
|
- name: Run conan-package-tools
|
||||||
env:
|
env:
|
||||||
CONAN_USERNAME: ${{ secrets.CONAN_USERNAME }}
|
CONAN_USERNAME: mpusz
|
||||||
|
CONAN_OPTIONS: mp-units:build_docs=False
|
||||||
|
CONAN_UPLOAD: https://api.bintray.com/conan/mpusz/conan-mpusz
|
||||||
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }}
|
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }}
|
||||||
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}
|
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}
|
||||||
CONAN_UPLOAD: ${{ secrets.CONAN_UPLOAD }}
|
|
||||||
CONAN_OPTIONS: mp-units:build_docs=False
|
|
||||||
CONAN_CMAKE_GENERATOR: Ninja
|
CONAN_CMAKE_GENERATOR: Ninja
|
||||||
CONAN_DOCKER_IMAGE: conanio/${{ matrix.compiler.name }}${{ matrix.compiler.version }}
|
CONAN_DOCKER_IMAGE: conanio/${{ matrix.compiler.name }}${{ matrix.compiler.version }}
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/ci-test-package-cmake.yml
vendored
2
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -73,7 +73,7 @@ jobs:
|
|||||||
- name: Configure Conan
|
- name: Configure Conan
|
||||||
run: |
|
run: |
|
||||||
conan config init
|
conan config init
|
||||||
conan remote add upload ${{ secrets.CONAN_UPLOAD }}
|
conan remote add upload https://api.bintray.com/conan/mpusz/conan-mpusz
|
||||||
- name: Install Conan dependencies
|
- name: Install Conan dependencies
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build/${{ matrix.build_type }} && cd build/${{ matrix.build_type }}
|
mkdir -p build/${{ matrix.build_type }} && cd build/${{ matrix.build_type }}
|
||||||
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@@ -85,7 +85,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install -U conan
|
pip install -U conan
|
||||||
conan config init
|
conan config init
|
||||||
conan remote add upload ${{ secrets.CONAN_UPLOAD }}
|
conan remote add upload https://api.bintray.com/conan/mpusz/conan-mpusz
|
||||||
conan remote add linear-algebra https://api.bintray.com/conan/twonington/public-conan
|
conan remote add linear-algebra https://api.bintray.com/conan/twonington/public-conan
|
||||||
mkdir _lgtm_build_dir && cd _lgtm_build_dir
|
mkdir _lgtm_build_dir && cd _lgtm_build_dir
|
||||||
conan install .. -s compiler.cppstd=20 -s compiler.libcxx=libstdc++11 -o mp-units:build_docs=False -e mp-units:CONAN_RUN_TESTS=True -b outdated -u
|
conan install .. -s compiler.cppstd=20 -s compiler.libcxx=libstdc++11 -o mp-units:build_docs=False -e mp-units:CONAN_RUN_TESTS=True -b outdated -u
|
||||||
|
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@@ -74,7 +74,7 @@ jobs:
|
|||||||
- name: Configure Conan
|
- name: Configure Conan
|
||||||
run: |
|
run: |
|
||||||
conan config init
|
conan config init
|
||||||
conan remote add upload ${{ secrets.CONAN_UPLOAD }}
|
conan remote add upload https://api.bintray.com/conan/mpusz/conan-mpusz
|
||||||
conan remote add linear-algebra https://api.bintray.com/conan/twonington/public-conan
|
conan remote add linear-algebra https://api.bintray.com/conan/twonington/public-conan
|
||||||
- name: Install Conan dependencies
|
- name: Install Conan dependencies
|
||||||
run: |
|
run: |
|
||||||
|
2
build.py
2
build.py
@@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
# The following environment variables are required
|
# The following environment variables are required
|
||||||
# - CONAN_USERNAME
|
# - CONAN_USERNAME
|
||||||
|
# - CONAN_UPLOAD
|
||||||
# - CONAN_LOGIN_USERNAME
|
# - CONAN_LOGIN_USERNAME
|
||||||
# - CONAN_PASSWORD
|
# - CONAN_PASSWORD
|
||||||
# - CONAN_UPLOAD
|
|
||||||
|
|
||||||
from cpt.packager import ConanMultiPackager
|
from cpt.packager import ConanMultiPackager
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user