action-gh-release
action-gh-release copied to clipboard
connection etimedout
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