Skip to content

Commit

Permalink
chore: upgrade to Aspect Workflows 5.10.0-alpha.10 (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Apr 24, 2024
1 parent 5efe31b commit 5af5d38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/.aspect-workflows-reusable.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ==================================================================================================
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.10.0-alpha.9)
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.10.0-alpha.10)
#
# https://github.com/marketplace/actions/aspect-workflows?version=5.10.0-alpha.9
# https://github.com/marketplace/actions/aspect-workflows?version=5.10.0-alpha.10
#
# At this time, GitHub Actions does not allow referencing reusable workflows from public
# repositories in other organizations. See
Expand Down Expand Up @@ -37,10 +37,10 @@
# jobs:
# aspect-workflows:
# name: Aspect Workflows
# uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.10.0-alpha.9
# uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.10.0-alpha.10
# ```
# ==================================================================================================
name: Aspect Workflows Reusable Workflow (v5.10.0-alpha.9)
name: Aspect Workflows Reusable Workflow (v5.10.0-alpha.10)

on:
# Makes this workflow reusable, see
Expand Down Expand Up @@ -124,15 +124,15 @@ jobs:
output_dir: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.ARTIFACTS_DIR }}

- name: Checkout Health
uses: aspect-build/workflows-action@5.10.0-alpha.9
uses: aspect-build/workflows-action@5.10.0-alpha.10
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].checkout_task_timeout }}
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].has_checkout_task
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
task: checkout

- name: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].name }}
uses: aspect-build/workflows-action@5.10.0-alpha.9
uses: aspect-build/workflows-action@5.10.0-alpha.10
env: ${{ inputs.inherited_secrets != '' && fromJson(steps.process_secrets.outputs.filtered_secrets) || fromJson('{}') }}
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].timeout_in_minutes }}
with:
Expand All @@ -154,7 +154,7 @@ jobs:

- name: Delivery Manifest
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].generate_manifest
uses: aspect-build/workflows-action@5.10.0-alpha.9
uses: aspect-build/workflows-action@5.10.0-alpha.10
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].delivery_manifest_timout }}
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
Expand Down Expand Up @@ -196,6 +196,6 @@ jobs:
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/${{ github.repository }}/actions/workflows/${{ inputs.delivery-workflow }}/dispatches \
-d "{\"ref\":\"${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].branch }}\",\"inputs\":{\"delivery_commit\":\"${GITHUB_SHA}\"}}"
-d "{\"ref\":\"${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].branch }}\",\"inputs\":{\"delivery_commit\":\"${GITHUB_SHA}\",\"workspace\":\"${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}\"}}"
shell: bash
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].delivery
4 changes: 2 additions & 2 deletions .github/workflows/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

ASPECT_WORKFLOWS_VERSION = "5.10.0-alpha.9"
ASPECT_WORKFLOWS_ACTION_INTEGRITY = "sha256-j6fxCMnP1qp5rgeG1q7k6ykUjHfSN0/GTqeGoJ1GIp8="
ASPECT_WORKFLOWS_VERSION = "5.10.0-alpha.10"
ASPECT_WORKFLOWS_ACTION_INTEGRITY = "sha256-ms6Dd6HPE9COgdpcL17fDh94Go1VuExQNVnYoh+ik/I="

def aspect_workflows_github_actions_deps():
"Fetch deps needed for Aspect Workflows on GitHub Actions"
Expand Down

0 comments on commit 5af5d38

Please sign in to comment.