Skip to content

秋キャス2024新規追加 #121

秋キャス2024新規追加

秋キャス2024新規追加 #121

Workflow file for this run

on:
push:
branches:
- master
# 同じワークフローが進行中の場合、それを取り消す
concurrency:
#group: ${{ github.workflow }}
group: on-push # 同名のワークフローがタイムアウトを越えてスタックしているため別名を指定
cancel-in-progress: true
jobs:
check-user-data-exists:
permissions:
contents: read
runs-on: ubuntu-22.04
steps:
- id: fetch-catalogue-build-and-deploy
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe #v3.1.4
with:
dry_run: true
path: ./user-data
workflow: fetch-catalogue-build-and-deploy.yaml
name: user-data
if_no_artifact_found: ignore
- id: on-push
if: ${{ steps.fetch-catalogue-build-and-deploy.outputs.found_artifact != 'true' }}
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe #v3.1.4
with:
dry_run: true
path: ./user-data
name: user-data
search_artifacts: true
if_no_artifact_found: warn
outputs:
exists: ${{ steps.fetch-catalogue-build-and-deploy.outputs.found_artifact == 'true' || steps.on-push.outputs.found_artifact == 'true' }}
fetch-catalogue:
needs: check-user-data-exists
if: ${{ needs.check-user-data-exists.outputs.exists != 'true' }}
uses: ./.github/workflows/fetch-catalogue.yaml
secrets: inherit
build-and-deploy:
needs: fetch-catalogue
if: ${{ !cancelled() && !failure() }}
uses: ./.github/workflows/build-and-deploy.yaml