Skip to content

Commit

Permalink
get versions in one step rather than twp
Browse files Browse the repository at this point in the history
  • Loading branch information
Soubinan committed Dec 14, 2023
1 parent fc6fb58 commit 65322ae
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Get xo-server version
id: xo-server
- name: Get xo versions
run: |
echo "XO_SERVER="$(curl -s https://raw.githubusercontent.com/vatesfr/xen-orchestra/master/packages/xo-server/package.json | jq -r ".version") >> $GITHUB_ENV
- name: Get xo-web version
id: xo-web
run: |
echo "XO_WEB="$(curl -s https://raw.githubusercontent.com/vatesfr/xen-orchestra/master/packages/xo-web/package.json | jq -r ".version") >> $GITHUB_ENV
- name: Checkout
uses: actions/[email protected]
Expand Down Expand Up @@ -69,7 +65,6 @@ jobs:
file: "./Containerfile"
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
Expand Down

0 comments on commit 65322ae

Please sign in to comment.