github-ci

How to access maven dependecy from GitHub Package Registry (Beta)

亡梦爱人 提交于 2020-06-12 16:40:36
问题 I uploaded a maven artefact to the GitHub Package Registry (Beta) and want to add it as maven dependency. I'm already in the Regestry-Beta and activated it for my sample HalloMaven project. Also the mvn deploy was succesful, so the artifact is public available here: https://github.com/TobseF/HelloMaven/packages But how to include it as a maven dependency? I tried to add it in a fresh sample project with this pom.xml : <groupId>de.tfr.test</groupId> <artifactId>maven-repo-test</artifactId>

How to access maven dependecy from GitHub Package Registry (Beta)

十年热恋 提交于 2020-06-12 16:39:12
问题 I uploaded a maven artefact to the GitHub Package Registry (Beta) and want to add it as maven dependency. I'm already in the Regestry-Beta and activated it for my sample HalloMaven project. Also the mvn deploy was succesful, so the artifact is public available here: https://github.com/TobseF/HelloMaven/packages But how to include it as a maven dependency? I tried to add it in a fresh sample project with this pom.xml : <groupId>de.tfr.test</groupId> <artifactId>maven-repo-test</artifactId>

Download private module from Github Package Registry via Yarn within a Github Action? Publishing works, but installing is met with '401 Unauthorized'

我与影子孤独终老i 提交于 2020-06-12 05:40:31
问题 For various reasons we are stuck using yarn managing our packages so we can't rely on a package-lock.json to use npm with github actions. We cannot get Yarn to authenticate as part of a github action. We've got our repo npmrc configured as: @COMPANY:registry=https://npm.pkg.github.com registry=https://registry.npmjs.org/ And we're using this action for yarn. Here's a basic setup where we're just trying to install the modules -- nothing more. name: CI on: [push] jobs: build: name: Test runs-on

Dockerfile COPY failed: stat no such file, when using GitHub CI

不羁的心 提交于 2019-12-24 06:32:43
问题 I am using GitHub Actions for Gradle project with this given steps: name: Java CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up JDK 11 uses: actions/setup-java@v1 with: java-version: 11 - run: gradle wrapper - run: ./gradlew bootJar - run: ls ./build/libs/ - uses: actions/checkout@v1 - name: Login to docker run: docker login docker.pkg.github.com -u xxxxxx -p xxxxxx - uses: actions/checkout@v1 - name: Build the Docker image run: docker build

Dockerfile COPY failed: stat no such file, when using GitHub CI

萝らか妹 提交于 2019-12-24 06:32:38
问题 I am using GitHub Actions for Gradle project with this given steps: name: Java CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up JDK 11 uses: actions/setup-java@v1 with: java-version: 11 - run: gradle wrapper - run: ./gradlew bootJar - run: ls ./build/libs/ - uses: actions/checkout@v1 - name: Login to docker run: docker login docker.pkg.github.com -u xxxxxx -p xxxxxx - uses: actions/checkout@v1 - name: Build the Docker image run: docker build

GitHub CI error parsing HTTP 404 response body when pushing the image

蓝咒 提交于 2019-12-24 06:07:20
问题 Coming from this issue I am using GitHub Actions for Gradle project with this given steps: name: Java CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up JDK 13 uses: actions/setup-java@v1 with: java-version: 13 - run: ./gradlew bootJar - name: Login to Github regestry run: docker login docker.pkg.github.com -u xxxxx -p xxxxx - name: Build the Docker image run: docker build . -t docker.pkg.github.com/sulimanlab/realtime-chat/realtimechat

GitHub CI error parsing HTTP 404 response body when pushing the image

邮差的信 提交于 2019-12-24 06:07:10
问题 Coming from this issue I am using GitHub Actions for Gradle project with this given steps: name: Java CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up JDK 13 uses: actions/setup-java@v1 with: java-version: 13 - run: ./gradlew bootJar - name: Login to Github regestry run: docker login docker.pkg.github.com -u xxxxx -p xxxxx - name: Build the Docker image run: docker build . -t docker.pkg.github.com/sulimanlab/realtime-chat/realtimechat

New GitHub actions run in empty folders

偶尔善良 提交于 2019-12-24 00:46:25
问题 I am working with new GitHub actions, idea of a workflow below is to run when pr is opened or synchronised, it should first check out and install dependencies and afterwards run few yarn scripts name: PR to Master on: pull_request: branches: - master jobs: # Synchronize or Opened synchronized_or_opened: name: Synchronize or Opened runs-on: ubuntu-latest steps: - uses: actions/bin/filter@master with: args: action 'opened|synchronize' # Add Labels add_labels: name: Add Labels runs-on: ubuntu