mirror of
https://github.com/Sheldan/OnePlusBot.git
synced 2026-01-09 10:47:15 +00:00
[OPB-3] hardcoding the abstracto version in the release job for now
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -16,11 +16,6 @@ jobs:
|
|||||||
- name: Load current version
|
- name: Load current version
|
||||||
id: version
|
id: version
|
||||||
run: echo "version=$(mvn -s settings.xml --file pom.xml -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV
|
run: echo "version=$(mvn -s settings.xml --file pom.xml -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV
|
||||||
- name: Load abstracto version
|
|
||||||
id: abstracto_version
|
|
||||||
run: echo "abstracto_version=$(mvn help:evaluate -s settings.xml --file pom.xml -Dexpression=abstracto.version -q -DforceStdout)" >> $GITHUB_ENV
|
|
||||||
env:
|
|
||||||
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.defaultLogLevel=OFF
|
|
||||||
- name: Publish to GitHub Packages
|
- name: Publish to GitHub Packages
|
||||||
run: mvn -s settings.xml --file pom.xml -B deploy -Dmaven.wagon.http.pool=false -DskipTests=true
|
run: mvn -s settings.xml --file pom.xml -B deploy -Dmaven.wagon.http.pool=false -DskipTests=true
|
||||||
env:
|
env:
|
||||||
@@ -39,5 +34,5 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
REGISTRY_PREFIX: docker.pkg.github.com/sheldan/oneplusbot/
|
REGISTRY_PREFIX: docker.pkg.github.com/sheldan/oneplusbot/
|
||||||
VERSION: ${{ env.version }}
|
VERSION: ${{ env.version }}
|
||||||
ABSTRACTO_VERSION: ${{ env.abstracto_version }}
|
ABSTRACTO_VERSION: 1.2
|
||||||
ABSTRACTO_REGISTRY_PREFIX: docker.pkg.github.com/sheldan/abstracto/
|
ABSTRACTO_REGISTRY_PREFIX: docker.pkg.github.com/sheldan/abstracto/
|
||||||
Reference in New Issue
Block a user