Skip to content

Commit

Permalink
ci: rename workflow and comment out electron release steps
Browse files Browse the repository at this point in the history
  • Loading branch information
4gray committed Nov 20, 2024
1 parent e3dd328 commit 77eaf24
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and release
name: Build and test

on:
push:
Expand Down Expand Up @@ -55,35 +55,35 @@ jobs:
- run: npm run e2e:ci
env:
e2e: true
release:
needs: [build-and-test]
runs-on: ${{ matrix.os }}
# release:
# needs: [build-and-test]
# runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# strategy:
# matrix:
# os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- name: Check out Git repository
uses: actions/checkout@v4
# steps:
# - name: Check out Git repository
# uses: actions/checkout@v4

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: '20'
# - name: Install Node.js, NPM and Yarn
# uses: actions/setup-node@v4
# with:
# node-version: '20'

- name: Build Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
# - name: Build Electron app
# uses: samuelmeuli/action-electron-builder@v1
# with:
# # GitHub token, automatically provided to the action
# # (No need to define this secret in the repo settings)
# github_token: ${{ secrets.github_token }}

# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
#- name: Archive production artifacts
# uses: actions/upload-artifact@v3
# with:
# name: dev-release
# path: ./release/**
# # If the commit is tagged with a version (e.g. "v1.0.0"),
# # release the app after building
# release: ${{ startsWith(github.ref, 'refs/tags/v') }}
# #- name: Archive production artifacts
# # uses: actions/upload-artifact@v3
# # with:
# # name: dev-release
# # path: ./release/**
1 change: 1 addition & 0 deletions .github/workflows/tauri-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
releaseName: 'App v__VERSION__'
Expand Down

0 comments on commit 77eaf24

Please sign in to comment.