Skip to content

Commit

Permalink
debug: transfer data between jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
hickey committed Feb 8, 2024
1 parent 425db4a commit eeb04c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 25 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/build-api-package.yaml

This file was deleted.

20 changes: 13 additions & 7 deletions .github/workflows/release-meshchat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ on:
pull_request:
types: [closed]
branches: [release]
push:
env:
IPK_DIR: package/meshchat-ipkg
jobs:
calculate-version-number:
runs-on: registry.gitlab.com/wt0f/gitlab-runner-images/node:latest
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/wt0f/gitlab-runner-images/node:latest
outputs:
version: ${{ steps.detect_version.outputs.version }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -29,17 +34,18 @@ jobs:
- uses: action/upload-artifact@v3
with:
name: meshchat
path: |
VERSION
path: VERSION

release_meshchat_package:
release-meshchat-package:
needs: calculate-version-number
uses:
hickey/meshchat/.github/workflows/build-meshchat-pacakge.yaml@master
./.github/workflows/build-meshchat-package.yaml
with:
version: ${{ steps.detect_version.outputs.version }}
build_dir: ${{ env.IPK_DIR }}
version: ${{ needs.calculate-version-number.outputs.version }}
build_dir: ${IPK_DIR}

add-meshchat-package-to-release:
needs: release-meshchat-package
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/wt0f/gitlab-runner-images/node:latest
Expand Down

0 comments on commit eeb04c0

Please sign in to comment.