Merge branch 'v4' into v4-github

This commit is contained in:
Chl 2024-08-31 02:54:09 +02:00
commit 2cad2036e4
4 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,6 @@
on: on:
push: push:
branches:
jobs: jobs:
GenerateReleaseZipfile: GenerateReleaseZipfile:

View file

@ -1,5 +1,6 @@
on: on:
push: push:
branches:
jobs: jobs:
GenerateReleaseZipfile: GenerateReleaseZipfile:

View file

@ -73,6 +73,8 @@ steps:
- name: Simple checkout - name: Simple checkout
run: | run: |
git init git init
# On Github, the token isn't readily available.
test -z "$GITHUB_TOKEN" && GITHUB_TOKEN="${{ github.token }}"
MY_AUTHENTICATED_URL="$( echo "$GITHUB_SERVER_URL" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )" MY_AUTHENTICATED_URL="$( echo "$GITHUB_SERVER_URL" | sed "s#^\(https\?://\)#\1$GITHUB_TOKEN\@#" )"
git remote add origin "$MY_AUTHENTICATED_URL"/"$GITHUB_REPOSITORY" git remote add origin "$MY_AUTHENTICATED_URL"/"$GITHUB_REPOSITORY"
# Little and optional speed optimization # Little and optional speed optimization

View file

@ -8,6 +8,10 @@ description: |
This is a lighter version of upload-artifact, it only needs a shell, zip This is a lighter version of upload-artifact, it only needs a shell, zip
and the full version of wget. and the full version of wget.
branding:
icon: archive
color: gray-dark
inputs: inputs:
name: name:
description: 'Artifact name' description: 'Artifact name'