willianrod / ODeck

A free and open-source alternative to StreamDeck
https://odeck.app
MIT License
388 stars 22 forks source link

ci: add workflow to create release from tags #33

Closed EduardoJM closed 11 months ago

EduardoJM commented 12 months ago

Propose to closes #29


This workflow proposes an workflow to run:

  1. a Windows job to build the Windows version of the electron app.
  2. a MacOS job to build the MacOS version of the elctron app.
  3. a Ubuntu job that get the artifacts builded in the above jobs and create the GitHub release.

I decided to use this way to get more control for releasing than using electron-builder --publish(like changing release body text, adding other files as the APK's or add automatic release to an web store if needed).


Another important thing is: is needed to create an new access token with permission to create release and add as GITHUB_TOKEN secret.

Update:

  1. I added an new job to release the Linux AppImage version of the application.

  2. I removed the original workflows publish.yml and test.yml, because the actions are disabled for this repository, then i supposed that are not working.

EduardoJM commented 11 months ago

Hi @willianrod i update this today, and added the Linux AppImage release support and, really removed the old workflows (because the actions are disabled on this repository).

EduardoJM commented 11 months ago

I have got this same error on Windows with old setup node action version, but in a private test repository, only update to more recent setup-node fixed 😢

image

willianrod commented 11 months ago

@EduardoJM which version have you used?

EduardoJM commented 11 months ago

@EduardoJM which version have you used?

The version actions/setup-node@v3 (in the workflow). I have update from v2 to v3 to solve the problem.

But, now, the action was successful runned