Skip to content

Commit

Permalink
Merge pull request #278 from ionos-cloud/fix/add-path
Browse files Browse the repository at this point in the history
fix: use GITHUB_PATH instead of add-path
  • Loading branch information
avirtopeanu-ionos authored Nov 26, 2024
2 parents 6fba4a2 + 41ab437 commit 2cf3583
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release-upbound.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Crossplane Provider
name: CD - Release To Upbound

on:
workflow_run:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Install Upbound CLI
run: |
curl -sL https://cli.upbound.io | sh
echo "::add-path::${HOME}/.upbound/bin"
echo "${HOME}/.upbound/bin" >> $GITHUB_PATH
- name: Login to Upbound
env:
Expand All @@ -46,6 +46,12 @@ jobs:
if: github.event_name == 'workflow_dispatch'
run: echo "VERSION_TAG=${{ github.event.inputs.version_tag }}" >> $GITHUB_ENV

- name: Debug Environment
run: |
echo "Version Tag: $VERSION_TAG"
up xpkg version
up status
- name: Build and push Crossplane provider
run: |
up xpkg build --name provider-ionoscloud.xpkg
Expand Down

0 comments on commit 2cf3583

Please sign in to comment.