Skip to content

[Feature/Idea]: Repository configuration support for local tests #327

@Dragon1573

Description

@Dragon1573

What would you like to see changed/added?

Hi @vedantmgoyal9, 👋🏼

I'm currently writing a workflow configuration YAML for @mtrojnar in his/her repository. Before submitting the pull request, I would like to check my YAML with nektos/act with Docker instance locally.

.github/workflows/winget.yml

name: Publish to WinGet
on:
  release:
    types: [released, published]

jobs:
  publish:
    # Komac supports running on Linux instance.
    # Use Ubuntu as runner have benifits for validating the config via nektos/act.
    runs-on: ubuntu-latest

    steps:
      - uses: vedantmgoyal9/winget-releaser@main
        with:
          identifier: MichalTrojnara.osslsigncode
          installers-regex: '-windows-x64-mingw\.zip$'
          # I would recommend using this "range-rolling" release mode.
          # Keep ONLY the latest 7 releases in the repository it's acceptable.
          max-versions-to-keep: 7
          # IMPORTANT: HAVE TO be the original author.
          fork-user: mtrojnar
          # IMPORTANT: This token should be created and configured externally.
          #   I can do nothing with it.
          token: ${{ secrets.WINGET_TOKEN }}

Then I try to launch a test run with act -j publish -r -s WINGET_TOKEN=$(gh auth token) -e .\.action.json.

Note

I have GitHub CLI installed on my host device. Token exported from GitHub CLI definitely provides public_repo scope API authority.

.action.json

{
    "action": "published",
    "release": {
        "assets": [
            {
                "browser_download_url": "https://github.com/mtrojnar/osslsigncode/releases/download/2.10/osslsigncode-2.10-macOS.zip",
                "content_type": "application/zip",
                "created_at": "2025-06-23T19:55:31Z",
                "digest": "sha256:f4d2131cdc775b68034da7b1165d9a0a21172c61b146b0f119b1e10d203fc7d8",
                "download_count": 3,
                "id": 266579394,
                "label": null,
                "name": "osslsigncode-2.10-macOS.zip",
                "node_id": "RA_kwDOCXTeK84P463C",
                "size": 85333,
                "state": "uploaded",
                "updated_at": "2025-06-23T19:55:31Z",
                "uploader": {
                    "avatar_url": "https://avatars.githubusercontent.com/u/13538198?v=4",
                    "events_url": "https://api.github.com/users/mtrojnar/events{/privacy}",
                    "followers_url": "https://api.github.com/users/mtrojnar/followers",
                    "following_url": "https://api.github.com/users/mtrojnar/following{/other_user}",
                    "gists_url": "https://api.github.com/users/mtrojnar/gists{/gist_id}",
                    "gravatar_id": "",
                    "html_url": "https://github.com/mtrojnar",
                    "id": 13538198,
                    "login": "mtrojnar",
                    "node_id": "MDQ6VXNlcjEzNTM4MTk4",
                    "organizations_url": "https://api.github.com/users/mtrojnar/orgs",
                    "received_events_url": "https://api.github.com/users/mtrojnar/received_events",
                    "repos_url": "https://api.github.com/users/mtrojnar/repos",
                    "site_admin": false,
                    "starred_url": "https://api.github.com/users/mtrojnar/starred{/owner}{/repo}",
                    "subscriptions_url": "https://api.github.com/users/mtrojnar/subscriptions",
                    "type": "User",
                    "url": "https://api.github.com/users/mtrojnar",
                    "user_view_type": "public"
                },
                "url": "https://api.github.com/repos/mtrojnar/osslsigncode/releases/assets/266579394"
            },
            {
                "browser_download_url": "https://github.com/mtrojnar/osslsigncode/releases/download/2.10/osslsigncode-2.10-windows-x64-mingw.zip",
                "content_type": "application/zip",
                "created_at": "2025-06-23T19:55:29Z",
                "digest": "sha256:7909bf36673484a46467004e67132d8340ec4a45ebbbc1055621bdb9262a81cd",
                "download_count": 52,
                "id": 266579389,
                "label": null,
                "name": "osslsigncode-2.10-windows-x64-mingw.zip",
                "node_id": "RA_kwDOCXTeK84P4629",
                "size": 2249204,
                "state": "uploaded",
                "updated_at": "2025-06-23T19:55:31Z",
                "uploader": {
                    "avatar_url": "https://avatars.githubusercontent.com/u/13538198?v=4",
                    "events_url": "https://api.github.com/users/mtrojnar/events{/privacy}",
                    "followers_url": "https://api.github.com/users/mtrojnar/followers",
                    "following_url": "https://api.github.com/users/mtrojnar/following{/other_user}",
                    "gists_url": "https://api.github.com/users/mtrojnar/gists{/gist_id}",
                    "gravatar_id": "",
                    "html_url": "https://github.com/mtrojnar",
                    "id": 13538198,
                    "login": "mtrojnar",
                    "node_id": "MDQ6VXNlcjEzNTM4MTk4",
                    "organizations_url": "https://api.github.com/users/mtrojnar/orgs",
                    "received_events_url": "https://api.github.com/users/mtrojnar/received_events",
                    "repos_url": "https://api.github.com/users/mtrojnar/repos",
                    "site_admin": false,
                    "starred_url": "https://api.github.com/users/mtrojnar/starred{/owner}{/repo}",
                    "subscriptions_url": "https://api.github.com/users/mtrojnar/subscriptions",
                    "type": "User",
                    "url": "https://api.github.com/users/mtrojnar",
                    "user_view_type": "public"
                },
                "url": "https://api.github.com/repos/mtrojnar/osslsigncode/releases/assets/266579389"
            }
        ],
        "assets_url": "https://api.github.com/repos/mtrojnar/osslsigncode/releases/227179531/assets",
        "author": {
            "avatar_url": "https://avatars.githubusercontent.com/u/13538198?v=4",
            "events_url": "https://api.github.com/users/mtrojnar/events{/privacy}",
            "followers_url": "https://api.github.com/users/mtrojnar/followers",
            "following_url": "https://api.github.com/users/mtrojnar/following{/other_user}",
            "gists_url": "https://api.github.com/users/mtrojnar/gists{/gist_id}",
            "gravatar_id": "",
            "html_url": "https://github.com/mtrojnar",
            "id": 13538198,
            "login": "mtrojnar",
            "node_id": "MDQ6VXNlcjEzNTM4MTk4",
            "organizations_url": "https://api.github.com/users/mtrojnar/orgs",
            "received_events_url": "https://api.github.com/users/mtrojnar/received_events",
            "repos_url": "https://api.github.com/users/mtrojnar/repos",
            "site_admin": false,
            "starred_url": "https://api.github.com/users/mtrojnar/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/mtrojnar/subscriptions",
            "type": "User",
            "url": "https://api.github.com/users/mtrojnar",
            "user_view_type": "public"
        },
        "body": "### 2.10 (2025.06.23)\r\n\r\n- added JavaScript signing\r\n- added PKCS#11 provider support (requires OpenSSL 3.0+)\r\n- added support for providers without specifying \"-pkcs11module\" option\r\n  (OpenSSL 3.0+, e.g., for the upcoming CNG provider)\r\n- added compatibility with the CNG engine version 1.1 or later\r\n- added the \"-engineCtrl\" option to control hardware and CNG engines\r\n- added the '-blobFile' option to specify a file containing the blob content\r\n- improved unauthenticated blob support (thanks to Asger Hautop Drewsen)\r\n- improved UTF-8 handling for certificate subjects and issuers\r\n- fixed support for multiple signerInfo contentType OIDs (CTL and Authenticode)\r\n- fixed tests for python-cryptography >= 43.0.0",
        "created_at": "2025-06-23T19:36:51Z",
        "draft": false,
        "html_url": "https://github.com/mtrojnar/osslsigncode/releases/tag/2.10",
        "id": 227179531,
        "name": "2.10",
        "node_id": "RE_kwDOCXTeK84NinwL",
        "prerelease": false,
        "published_at": "2025-06-23T20:04:44Z",
        "reactions": {
            "+1": 1,
            "-1": 0,
            "confused": 0,
            "eyes": 1,
            "heart": 1,
            "hooray": 1,
            "laugh": 0,
            "rocket": 1,
            "total_count": 5,
            "url": "https://api.github.com/repos/mtrojnar/osslsigncode/releases/227179531/reactions"
        },
        "tag_name": "2.10",
        "tarball_url": "https://api.github.com/repos/mtrojnar/osslsigncode/tarball/2.10",
        "target_commitish": "master",
        "upload_url": "https://uploads.github.com/repos/mtrojnar/osslsigncode/releases/227179531/assets{?name,label}",
        "url": "https://api.github.com/repos/mtrojnar/osslsigncode/releases/227179531",
        "zipball_url": "https://api.github.com/repos/mtrojnar/osslsigncode/zipball/2.10"
    },
    "repository": {
        "id": 158653995,
        "node_id": "MDEwOlJlcG9zaXRvcnkxNTg2NTM5OTU=",
        "name": "osslsigncode",
        "full_name": "mtrojnar/osslsigncode",
        "private": false,
        "owner": {
            "login": "mtrojnar",
            "id": 13538198,
            "node_id": "MDQ6VXNlcjEzNTM4MTk4",
            "avatar_url": "https://avatars.githubusercontent.com/u/13538198?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/mtrojnar",
            "html_url": "https://github.com/mtrojnar",
            "followers_url": "https://api.github.com/users/mtrojnar/followers",
            "following_url": "https://api.github.com/users/mtrojnar/following{/other_user}",
            "gists_url": "https://api.github.com/users/mtrojnar/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/mtrojnar/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/mtrojnar/subscriptions",
            "organizations_url": "https://api.github.com/users/mtrojnar/orgs",
            "repos_url": "https://api.github.com/users/mtrojnar/repos",
            "events_url": "https://api.github.com/users/mtrojnar/events{/privacy}",
            "received_events_url": "https://api.github.com/users/mtrojnar/received_events",
            "type": "User",
            "user_view_type": "public",
            "site_admin": false
        },
        "html_url": "https://github.com/mtrojnar/osslsigncode",
        "description": "OpenSSL-based Authenticode signing for PE, CAB, CAT, MSI, APPX, and script file",
        "fork": false,
        "url": "https://api.github.com/repos/mtrojnar/osslsigncode",
        "forks_url": "https://api.github.com/repos/mtrojnar/osslsigncode/forks",
        "keys_url": "https://api.github.com/repos/mtrojnar/osslsigncode/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/mtrojnar/osslsigncode/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/mtrojnar/osslsigncode/teams",
        "hooks_url": "https://api.github.com/repos/mtrojnar/osslsigncode/hooks",
        "issue_events_url": "https://api.github.com/repos/mtrojnar/osslsigncode/issues/events{/number}",
        "events_url": "https://api.github.com/repos/mtrojnar/osslsigncode/events",
        "assignees_url": "https://api.github.com/repos/mtrojnar/osslsigncode/assignees{/user}",
        "branches_url": "https://api.github.com/repos/mtrojnar/osslsigncode/branches{/branch}",
        "tags_url": "https://api.github.com/repos/mtrojnar/osslsigncode/tags",
        "blobs_url": "https://api.github.com/repos/mtrojnar/osslsigncode/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/mtrojnar/osslsigncode/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/mtrojnar/osslsigncode/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/mtrojnar/osslsigncode/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/mtrojnar/osslsigncode/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/mtrojnar/osslsigncode/languages",
        "stargazers_url": "https://api.github.com/repos/mtrojnar/osslsigncode/stargazers",
        "contributors_url": "https://api.github.com/repos/mtrojnar/osslsigncode/contributors",
        "subscribers_url": "https://api.github.com/repos/mtrojnar/osslsigncode/subscribers",
        "subscription_url": "https://api.github.com/repos/mtrojnar/osslsigncode/subscription",
        "commits_url": "https://api.github.com/repos/mtrojnar/osslsigncode/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/mtrojnar/osslsigncode/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/mtrojnar/osslsigncode/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/mtrojnar/osslsigncode/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/mtrojnar/osslsigncode/contents/{+path}",
        "compare_url": "https://api.github.com/repos/mtrojnar/osslsigncode/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/mtrojnar/osslsigncode/merges",
        "archive_url": "https://api.github.com/repos/mtrojnar/osslsigncode/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/mtrojnar/osslsigncode/downloads",
        "issues_url": "https://api.github.com/repos/mtrojnar/osslsigncode/issues{/number}",
        "pulls_url": "https://api.github.com/repos/mtrojnar/osslsigncode/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/mtrojnar/osslsigncode/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/mtrojnar/osslsigncode/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/mtrojnar/osslsigncode/labels{/name}",
        "releases_url": "https://api.github.com/repos/mtrojnar/osslsigncode/releases{/id}",
        "deployments_url": "https://api.github.com/repos/mtrojnar/osslsigncode/deployments",
        "created_at": "2018-11-22T06:43:20Z",
        "updated_at": "2025-06-25T00:03:22Z",
        "pushed_at": "2025-06-23T20:06:50Z",
        "git_url": "git://github.com/mtrojnar/osslsigncode.git",
        "ssh_url": "git@github.com:mtrojnar/osslsigncode.git",
        "clone_url": "https://github.com/mtrojnar/osslsigncode.git",
        "svn_url": "https://github.com/mtrojnar/osslsigncode",
        "homepage": "",
        "size": 2666,
        "stargazers_count": 899,
        "watchers_count": 899,
        "language": "C",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "has_discussions": false,
        "forks_count": 139,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 2,
        "license": {
            "key": "other",
            "name": "Other",
            "spdx_id": "NOASSERTION",
            "url": null,
            "node_id": "MDc6TGljZW5zZTA="
        },
        "allow_forking": true,
        "is_template": false,
        "web_commit_signoff_required": false,
        "topics": [],
        "visibility": "public",
        "forks": 139,
        "open_issues": 2,
        "watchers": 899,
        "default_branch": "master",
        "permissions": {
            "admin": false,
            "maintain": false,
            "push": false,
            "triage": false,
            "pull": true
        },
        "temp_clone_token": "",
        "network_count": 139,
        "subscribers_count": 15
    }
}

Then I get following logs:

Console logs

10:54:28 D:\...\osslsigncode  [master ≡ +2 ~0 -0 !] 2ms pwsh
$ act -j publish -r -s WINGET_TOKEN=$(gh auth token) -e .\.action.json
time="2025-06-25T10:57:15+08:00" level=info msg="Using docker host 'npipe:////./pipe/docker_engine', and daemon socket 'npipe:////./pipe/docker_engine'"
[Publish to WinGet/publish] ⭐ Run Set up job
[Publish to WinGet/publish] 🚀  Start image=ghcr.io/catthehacker/ubuntu:full-latest
[Publish to WinGet/publish]   🐳  docker pull image=ghcr.io/catthehacker/ubuntu:full-latest platform= username= forcePull=false
[Publish to WinGet/publish]   🐳  docker create image=ghcr.io/catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Publish to WinGet/publish]   🐳  docker run image=ghcr.io/catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Publish to WinGet/publish]   🐳  docker exec cmd=[chown -R 1001:127 /mnt/d/Repository/osslsigncode] user=0 workdir=
[Publish to WinGet/publish]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[Publish to WinGet/publish]   ✅  Success - Set up job
[Publish to WinGet/publish]   ☁  git clone 'https://github.com/vedantmgoyal9/winget-releaser' # ref=main
[Publish to WinGet/publish] Non-terminating error while running 'git clone': some refs were not updated
[Publish to WinGet/publish] ⭐ Run Pre vedantmgoyal9/winget-releaser@main
[Publish to WinGet/publish]   ☁  git clone 'https://github.com/cargo-bins/cargo-binstall' # ref=main
[Publish to WinGet/publish] Non-terminating error while running 'git clone': some refs were not updated
[Publish to WinGet/publish] ⭐ Run Pre cargo-bins/cargo-binstall@main
[Publish to WinGet/publish]   ✅  Success - Pre cargo-bins/cargo-binstall@main [22.14ms]
                                                                                in [1.111262s]
| StatusCode        : 200h] ⭐ Run Main vedantmgoyal9/winget-releaser@main
| StatusDescription : OKsh]   🐳  docker cp src=C:\Users\Dragon1573\.cache\act/vedantmgoyal9-winget-releaser@main/ dst=/var/run/act/actions/vedantmgoyal9-winget-releaser@main/
| Content           : lish]   🐳  docker exec cmd=[chown -R 1001:127 /var/run/act/actions/vedantmgoyal9-winget-releaser@main/] user=0 workdir=
| RawContent        : HTTP/1.1 200 OKin # check if at least one version of the package is already present in winget-pkgs repository
|                     Date: Wed, 25 Jun 2025 02:57:18 GMT
|                     Vary: X-PJAXode'
|                     Vary: X-PJAX-Containericrosoft/winget-pkgs/tree/master/manifests/$($PkgId.ToLower()[0])\$($PkgId.Replace('.', '/'))" -Method Head
|                     Vary: Turbo-Visit
|                     Vary: Turbo-Frame does not exist in the winget-pkgs repository. Please add atleast one version of the package before using this action."
|                     Vary: X-Requested-With
|                     Vary: Accept-Encoding
|                     Vary: Acceptdocker exec cmd=[pwsh -command . /var/run/act/workflow/0-composite-0.ps1] user= workdir=
|                     Vary: X-Requested-…
| Headers           : {[Date, System.String[]], [Vary, System.String[]], [ETag, S
|                     ystem.String[]], [Cache-Control, System.String[]]…}
| Images            : {}
| InputFields       : {}
| Links             : {}
| RawContentLength  : 0
| RelationLink      : {}
|
[Publish to WinGet/publish]   ✅  Success - Main # check if at least one version of the package is already present in winget-pkgs repository
$ErrorActionPreference = 'SilentlyContinue'
$PkgId = 'MichalTrojnara.osslsigncode'
Invoke-WebRequest -Uri "https://github.com/microsoft/winget-pkgs/tree/master/manifests/$($PkgId.ToLower()[0])\$($PkgId.Replace('.', '/'))" -Method Head
if (-not $?) {
  Write-Output "::error::Package $PkgId does not exist in the winget-pkgs repository. Please add atleast one version of the package before using this action."
  exit 1
}
 [18.3796526s]
[Publish to WinGet/publish] ⭐ Run Main # check if max-versions-to-keep is a valid number and is 0 (keep all versions) or greater than 0
$MaxVersionsToKeep = '7'
if (-not [int]::TryParse($MaxVersionsToKeep, [ref]$null) -or $MaxVersionsToKeep -lt 0) {
  Write-Output "::error::Invalid input: max-versions-to-keep should be 0 (zero - keep all versions) or a POSITIVE INTEGER."
  exit 1
}
[Publish to WinGet/publish]   🐳  docker exec cmd=[pwsh -command . /var/run/act/workflow/0-composite-1.ps1] user= workdir=
[Publish to WinGet/publish]   ✅  Success - Main # check if max-versions-to-keep is a valid number and is 0 (keep all versions) or greater than 0
$MaxVersionsToKeep = '7'
if (-not [int]::TryParse($MaxVersionsToKeep, [ref]$null) -or $MaxVersionsToKeep -lt 0) {
  Write-Output "::error::Invalid input: max-versions-to-keep should be 0 (zero - keep all versions) or a POSITIVE INTEGER."
  exit 1
}
 [360.271ms]
[Publish to WinGet/publish] ⭐ Run Main cargo-bins/cargo-binstall@main
[Publish to WinGet/publish]   🐳  docker cp src=C:\Users\Dragon1573\.cache\act/cargo-bins-cargo-binstall@main/ dst=/var/run/act/actions/cargo-bins-cargo-binstall@main/
[Publish to WinGet/publish]   🐳  docker exec cmd=[chown -R 1001:127 /var/run/act/actions/cargo-bins-cargo-binstall@main/] user=0 workdir=
[Publish to WinGet/publish] ⭐ Run Main Install cargo-binstall
[Publish to WinGet/publish]   🐳  docker exec cmd=[sh -e /var/run/act/workflow/0-composite-2-composite-0.sh] user= workdir=
| + set -o pipefail
| + set -o pipefail
| + case "${BINSTALL_VERSION:-}" in
| ++ mktemp -d
| + cd /tmp/tmp.EtIQIXuZ7M
| + '[' -z '' ']'
| + base_url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-
| ++ uname -s
| + os=Linux
| + '[' Linux = Darwin ']'
| + '[' Linux = Linux ']'
| ++ uname -m
| + machine=x86_64
| + '[' x86_64 = armv7l ']'
| + target=x86_64-unknown-linux-musl
| + '[' x86_64 = armv7 ']'
| + url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
| + do_curl https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
| + curl --retry 10 -A 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0' -L --proto =https --tlsv1.2 -sSf https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
| + tar -xvzf -
| cargo-binstall
| + ./cargo-binstall --self-install
| + CARGO_HOME=/home/runner/.cargo
| + case ":$PATH:" in
| + '[' -n '' ']'
[Publish to WinGet/publish]   ✅  Success - Main Install cargo-binstall [2.4080795s]
[Publish to WinGet/publish]   ✅  Success - Main cargo-bins/cargo-binstall@main [3.0109246s]
[Publish to WinGet/publish] ⭐ Run Main cargo binstall komac -y
[Publish to WinGet/publish]   🐳  docker exec cmd=[pwsh -command . /var/run/act/workflow/0-composite-3.ps1] user= workdir=
|  INFO resolve: Resolving package: 'komac'
|  INFO resolve: komac v2.12.0 is already installed, use --force to override
Invoke-RestMethod: /var/run/act/workflow/0-composite-version-and-urls.ps1:3     
| Line | to WinGet/publish]   ✅  Success - Main cargo binstall komac -y [1.4491035s]
|    3 |  $ReleaseInfo = Invoke-RestMethod `t release information
|      |                 ~~~~~~~~~~~~~~~~~~~
|      |  {   "message": "Not Found",   "documentation_url":/releases/tags/2.10' `
|      | "https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name",   "status": "404" }
[Publish to WinGet/publish]   ❌  Failure - Main # get release information
$ReleaseInfo = Invoke-RestMethod `Info.tag_name -replace '^v')" >> $env:GITHUB_OUTPUT
  -Uri 'https://api.github.com/repos/Dragon1573/osslsigncode/releases/tags/2.10' `
  -Headers @{ Authorization = "token $env:GITHUB_TOKEN" }
If ('' -eq '') {
  Write-Output "version=$($ReleaseInfo.tag_name -replace '^v')" >> $env:GITHUB_OUTPUTzip$' }).browser_download_url -join ' ')" >> $env:GITHUB_OUTPUT
} Else { to WinGet/publish]   🐳  docker exec cmd=[pwsh -command . /var/run/act/workflow/0-composite-version-and-urls.ps1] user= workdir=
  Write-Output "version=" >> $env:GITHUB_OUTPUT
}
Write-Output "urls=$($ReleaseInfo.assets.Where({ $_.name -match '-windows-x64-mingw\.zip$' }).browser_download_url -join ' ')" >> $env:GITHUB_OUTPUT
 [20.8136933s]
[Publish to WinGet/publish] exitcode '1': failure
[Publish to WinGet/publish]   ❌  Failure - Main vedantmgoyal9/winget-releaser@main [44.4839268s]
[Publish to WinGet/publish] exitcode '1': failure
[Publish to WinGet/publish] ⭐ Run Post vedantmgoyal9/winget-releaser@main
[Publish to WinGet/publish]   🐳  docker cp src=C:\Users\Dragon1573\.cache\act/vedantmgoyal9-winget-releaser@main/ dst=/var/run/act/actions/vedantmgoyal9-winget-releaser@main/       
[Publish to WinGet/publish]   🐳  docker exec cmd=[chown -R 1001:127 /var/run/act/actions/vedantmgoyal9-winget-releaser@main/] user=0 workdir=
[Publish to WinGet/publish] ⭐ Run Post cargo-bins/cargo-binstall@main
[Publish to WinGet/publish]   🐳  docker cp src=C:\Users\Dragon1573\.cache\act/cargo-bins-cargo-binstall@main/ dst=/var/run/act/actions/cargo-bins-cargo-binstall@main/
[Publish to WinGet/publish]   🐳  docker exec cmd=[chown -R 1001:127 /var/run/act/actions/cargo-bins-cargo-binstall@main/] user=0 workdir=
[Publish to WinGet/publish]   ✅  Success - Post cargo-bins/cargo-binstall@main [506.3463ms]
[Publish to WinGet/publish]   ✅  Success - Post vedantmgoyal9/winget-releaser@main [672.6609ms]
[Publish to WinGet/publish] ⭐ Run Complete job
[Publish to WinGet/publish]   ✅  Success - Complete job
[Publish to WinGet/publish] 🏁  Job failed
Error: Job 'publish' failed

Noticed that in Main # get release information nested step, it queries repository of MINE instead of @mtrojnar's. Is there any properties (or environment variables) I can switch this action for checking releases?

Metadata

Metadata

Assignees

Labels

featNew feature request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions