From e73c1b4ed0a6d74f761a7384f03537076fd0086d Mon Sep 17 00:00:00 2001 From: Chl Date: Sat, 31 Aug 2024 02:06:32 +0200 Subject: [PATCH 1/4] Github's version --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 8b815d1..f90d07d 100644 --- a/action.yml +++ b/action.yml @@ -38,9 +38,9 @@ runs: # https://github.com/actions/runner/issues/3046 # Forgejo tries to download this remote action even if it's not needed : # uncomment if you want to run this action in Github. - #- name: Expose GitHub Runtime - # if: env.ACTIONS_RUNTIME_TOKEN == '' - # uses: "https://github.com/crazy-max/ghaction-github-runtime@v3" + - name: Expose GitHub Runtime + if: env.ACTIONS_RUNTIME_TOKEN == '' + uses: crazy-max/ghaction-github-runtime@v3 - name: Upload artifact (using v4) shell: sh From 15d2e01f70f98f655605fcf7ff16269e63db2cdc Mon Sep 17 00:00:00 2001 From: Chl Date: Sat, 31 Aug 2024 02:30:53 +0200 Subject: [PATCH 2/4] Better comment --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 50084f6..6be29fe 100644 --- a/action.yml +++ b/action.yml @@ -38,6 +38,7 @@ runs: # https://github.com/actions/runner/issues/3046 # Forgejo tries to download this remote action even if it's not needed : # uncomment if you want to run this action in Github. + # (uncommented for Github's version) - name: Expose GitHub Runtime if: env.ACTIONS_RUNTIME_TOKEN == '' uses: crazy-max/ghaction-github-runtime@v3 From d227f9f8253eae583e5445bf7acf8022677ab5b7 Mon Sep 17 00:00:00 2001 From: Chl Date: Sat, 31 Aug 2024 02:35:31 +0200 Subject: [PATCH 3/4] Github's marketplace: Description must be less than 125 characters --- action.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 6be29fe..8346a3c 100644 --- a/action.yml +++ b/action.yml @@ -3,11 +3,10 @@ name: "Upload an artifact with wget" author: "Chl" description: | - Upload an artifact for a workflow. + Upload an artifact. This is a lighter version of upload-artifact, it only needs a shell, zip - and the full version of wget (unfortunately, as of 2024-08-26, the busybox - variant isn't capable of using the PUT method). + and the full version of wget. inputs: name: From 149151acd0b18ceab8f81bbf2e5bc335142477e1 Mon Sep 17 00:00:00 2001 From: Chl Date: Sat, 31 Aug 2024 03:26:09 +0200 Subject: [PATCH 4/4] Comment to help switch from Github to Gitea/Forgejo --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 5814368..024ead1 100644 --- a/action.yml +++ b/action.yml @@ -44,6 +44,7 @@ runs: # (uncommented for Github's version) - name: Expose GitHub Runtime if: env.ACTIONS_RUNTIME_TOKEN == '' + # uses: "https://github.com/crazy-max/ghaction-github-runtime@v3" uses: crazy-max/ghaction-github-runtime@v3 - name: Upload artifact (using v4)