Skip to content

Commit 42001b3

Browse files
committed
fix: correct workflow working directory for pgshift subfolder
1 parent 3c78822 commit 42001b3

2 files changed

Lines changed: 16 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ on:
55
tags:
66
- 'v*'
77
workflow_dispatch:
8-
inputs:
9-
version:
10-
description: 'Version to build (e.g., 0.1.0)'
11-
required: true
12-
default: '0.1.0'
8+
9+
env:
10+
WORKING_DIR: pgshift
1311

1412
jobs:
1513
build-macos:
1614
runs-on: macos-latest
15+
defaults:
16+
run:
17+
working-directory: pgshift
1718
steps:
1819
- name: Checkout
1920
uses: actions/checkout@v4
@@ -41,10 +42,13 @@ jobs:
4142
uses: actions/upload-artifact@v4
4243
with:
4344
name: macos-dmg
44-
path: src-tauri/target/release/bundle/dmg/*.dmg
45+
path: pgshift/src-tauri/target/release/bundle/dmg/*.dmg
4546

4647
build-windows:
4748
runs-on: windows-latest
49+
defaults:
50+
run:
51+
working-directory: pgshift
4852
steps:
4953
- name: Checkout
5054
uses: actions/checkout@v4
@@ -72,7 +76,7 @@ jobs:
7276
uses: actions/upload-artifact@v4
7377
with:
7478
name: windows-exe
75-
path: src-tauri/target/release/bundle/nsis/*.exe
79+
path: pgshift/src-tauri/target/release/bundle/nsis/*.exe
7680

7781
create-release:
7882
needs: [build-macos, build-windows]

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
## 📥 Downloads
1010

11-
| Platform | Download | Size |
12-
|----------|----------|------|
13-
| macOS (Intel/Apple Silicon) | [PGShift_0.1.0_x64.dmg](https://github.com/ervsoft/pgshift/releases/download/v0.1.0/PGShift_0.1.0_x64.dmg) | ~5.6 MB |
14-
| Windows x64 | [PGShift_0.1.0_x64-setup.exe](https://github.com/ervsoft/pgshift/releases/download/v0.1.0/PGShift_0.1.0_x64-setup.exe) | ~8 MB |
11+
| Platform | Download |
12+
|----------|----------|
13+
| **macOS** (Intel/Apple Silicon) | [⬇️ PGShift_0.1.0_x64.dmg](https://github.com/ervsoft/pgshift/releases/latest/download/PGShift_0.1.0_x64.dmg) |
14+
| **Windows** x64 | [⬇️ PGShift_0.1.0_x64-setup.exe](https://github.com/ervsoft/pgshift/releases/latest/download/PGShift_0.1.0_x64-setup.exe) |
1515

16-
> **Note**: Windows builds are automatically generated via GitHub Actions when a new version tag is pushed.
16+
> 📦 All releases: [github.com/ervsoft/pgshift/releases](https://github.com/ervsoft/pgshift/releases)
1717
1818
## ✨ Features
1919

0 commit comments

Comments
 (0)