Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection etimedout #156

Open
eurydice76 opened this issue Sep 15, 2021 · 0 comments
Open

connection etimedout #156

eurydice76 opened this issue Sep 15, 2021 · 0 comments

Comments

@eurydice76
Copy link

Hello,

I try to use action-gh-release v1 in order to create a release and upload a zipped file. Here is my github action:

name: CI

on:
push:
branches: [ master ]
tags:
- '*'
pull_request:
branches: [ master ]

workflow_dispatch:

jobs:

build-macos:
runs-on: macOS

steps:
  - name: Checkout code
    uses: actions/checkout@v2

  - name: Build the application
    run: ./deploy/macos/build.sh 

  - name: Cache the build output
    uses: actions/cache@v2
    env:
      cache-name: cache-node-modules
    with:
      key: dist
      path: ./dist

deploy-macos:

# The type of runner that the job will run on
runs-on: macOS

needs: build-macos

steps:

  - name: Deploy the application
    run: ./deploy/macos/deploy.sh

  - name: Upload deploy artifacts
    uses: actions/upload-artifact@v2
    with:
      name: passhfiles-macos
      path: ./passhfiles*dmg
      if-no-files-found: error

  - name: Upload release asset
    if: startsWith(github.ref, 'refs/tags/')
    id: action-gh-release 
    uses: softprops/action-gh-release@v1
    with:
      body_path: CHANGELOG.md
      prerelease: false
      draft: false
      files: ./passhfiles-macos.zip

when running the action, the release is created but it fails to upload the asset due to a etimedout error:
Error: request to https://uploads.github.com/repos/eurydice76/passhfiles/releases/49616525/assets?name=passhfiles-macos.zip failed, reason: connect ETIMEDOUT 140.82.121.13:443

would you have any idea ? Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant