Skip to content

Try using needs

Try using needs #4

Workflow file for this run

name: Concordium desktop wallet release
on:
workflow_dispatch:
inputs:
service:
type: choice
description: Choose which workflow should be ran
options:
- desktop-wallet-windows
- release-desktop-wallet-linux
push:
branches:
- ekw/SRE-1001/release-desktop-wallet
tags:
- desktop-wallet-*/*
env:
BASE_IMAGE_VERSION: "rust-1.82_ghc-9.6.6-1"
STATIC_NODE_BINARY_IMAGE_NAME: 'static-node-binaries'
AWS_ROLE_TO_ASSUME: 'arn:aws:iam::192549843005:role/github_concordium-dektop-wallet'
S3_BUCKET: "s3://desktopwallet.concordium.com/"
ECR_REPO: "192549843005.dkr.ecr.eu-west-1.amazonaws.com/concordium/desktop-wallet-ci"
permissions:
id-token: write
contents: read
jobs:
login-aws:
environment: release

Check failure on line 32 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Concordium desktop wallet release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 32, Col: 5): Required property is missing: runs-on
steps:
- name: login
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: "eu-west-1"
role-to-assume: ${{ env.AWS_ROLE_TO_ASSUME }}
role-session-name: Releasedesktop-walletSession
release-desktop-wallet-linux:
environment: release
needs: login-aws
runs-on: ubuntu
container:
image: "192549843005.dkr.ecr.eu-west-1.amazonaws.com/concordium/desktop-wallet-ci:latest"
steps:
- name: echo
run: |
node --version