From 6f7691593abc09c7bda7ed92daae9a68ac9f41b9 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sat, 18 Jan 2025 16:14:33 +0100 Subject: [PATCH] found the error in the custom action --- .forgejo/actions/artifact-upload/action.yml | 6 ++++-- .forgejo/workflows/container-build.yml | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.forgejo/actions/artifact-upload/action.yml b/.forgejo/actions/artifact-upload/action.yml index c9bce5c..6043a6b 100644 --- a/.forgejo/actions/artifact-upload/action.yml +++ b/.forgejo/actions/artifact-upload/action.yml @@ -11,6 +11,8 @@ runs: using: composite steps: - name: collect - run: true + shell: sh + run: "true" - name: upload - run: true \ No newline at end of file + shell: sh + run: "true" diff --git a/.forgejo/workflows/container-build.yml b/.forgejo/workflows/container-build.yml index ffc5cc3..bf799c2 100644 --- a/.forgejo/workflows/container-build.yml +++ b/.forgejo/workflows/container-build.yml @@ -13,8 +13,8 @@ jobs: steps: - run: kc.sh build working-directory: /opt/keycloak/ - #- id: local-upload - # uses: ./.forgejo/actions/artifact-upload - # with: - # name: keycloak.tar - # path: /opt/keycloak \ No newline at end of file + - id: local-upload + uses: ./.forgejo/actions/artifact-upload + with: + name: keycloak.tar + path: /opt/keycloak