Compare commits

...

14 Commits

Author SHA1 Message Date
Jonas Kruckenberg
0cc18d6031
Merge pull request #338 from JonasKruckenberg/renovate/pnpm-action-setup-2.x
chore(deps): update pnpm/action-setup action to v2.4.1
2024-08-21 15:40:11 +02:00
renovate[bot]
ac6c9f7184
chore(deps): update pnpm/action-setup action to v2.4.1 2024-08-21 10:55:29 +00:00
Jonas Kruckenberg
a5ebd085e1
Merge pull request #332 from JonasKruckenberg/renovate/tauri-packages
fix(deps): update tauri packages to v1.6.0
2024-08-21 12:54:35 +02:00
Jonas Kruckenberg
77da3385e8 update node version 2024-08-21 12:29:32 +02:00
renovate[bot]
7b1c26f6f7
fix(deps): update tauri packages to v1.6.0 2024-08-21 10:29:18 +00:00
Jonas Kruckenberg
31cf3d35ab fix: add arm64 2024-08-21 12:26:15 +02:00
Jonas Kruckenberg
669b9aca35
Merge pull request #330 from JonasKruckenberg/release
Publish New Versions
2024-03-27 16:19:22 +01:00
JonasKruckenberg
d9b0001f0c publish new versions 2024-03-27 15:18:41 +00:00
Jonas Kruckenberg
ac9a4e1551
Revert "Revert "bump tauri to 1.5.11""
This reverts commit f66ea660359dba143165ce2354a72b103fdb7854.
2024-03-27 16:17:57 +01:00
Jonas Kruckenberg
f66ea66035
Revert "bump tauri to 1.5.11"
This reverts commit d87106eb09dc3049ecfd30c4f6ca17b462bc0eb8.
2024-03-27 16:16:35 +01:00
Jonas Kruckenberg
d87106eb09
bump tauri to 1.5.11 2024-03-27 16:14:09 +01:00
Jonas Kruckenberg
3fc2436380
Merge pull request #328 from JonasKruckenberg/release
Publish New Versions
2024-03-27 16:13:09 +01:00
JonasKruckenberg
39921cb090 publish new versions 2024-03-27 15:12:30 +00:00
Jonas Kruckenberg
3fda59d57a
bump tauri to 1.5.10 2024-03-27 16:11:16 +01:00
14 changed files with 1765 additions and 1385 deletions

View File

@ -28,9 +28,9 @@ jobs:
git config --global user.email "${{ github.event.pusher.email }}"
- uses: actions/setup-node@v4.0.1
with:
node-version: '16.x'
node-version: 20
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v2.4.0
- uses: pnpm/action-setup@v2.4.1
name: Install pnpm
id: pnpm-install
with:
@ -60,8 +60,8 @@ jobs:
if: steps.covector.outputs.commandRan == 'version'
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: "Publish New Versions"
commit-message: "publish new versions"
labels: "version updates"
branch: "release"
title: 'Publish New Versions'
commit-message: 'publish new versions'
labels: 'version updates'
branch: 'release'
body: ${{ steps.covector.outputs.change }}

View File

@ -1,4 +1,4 @@
name: "Test"
name: 'Test'
on:
workflow_dispatch:
@ -40,39 +40,39 @@ jobs:
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/checkout@v4
- name: 'Setup Rust'
uses: actions-rs/toolchain@v1
with:
default: true
override: true
profile: minimal
toolchain: stable
target: ${{ matrix.platform.rust_target }}
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
- uses: Swatinem/rust-cache@v2
- name: 'Setup Rust'
uses: actions-rs/toolchain@v1
with:
default: true
override: true
profile: minimal
toolchain: stable
target: ${{ matrix.platform.rust_target }}
- name: install dependencies (ubuntu only)
if: matrix.platform.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- uses: Swatinem/rust-cache@v2
- uses: JonasKruckenberg/tauri-build@main
id: tauri_build
with:
target: ${{ matrix.platform.rust_target }}
projectPath: ./test/fixture
- run: |
echo "${{ steps.tauri_build.outputs.artifacts }}"
# The artifacts output can now be used to upload the artifacts
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: "${{ join(fromJSON(steps.tauri_build.outputs.artifacts), '\n') }}"
- name: install dependencies (ubuntu only)
if: matrix.platform.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- uses: JonasKruckenberg/tauri-build@main
id: tauri_build
with:
target: ${{ matrix.platform.rust_target }}
projectPath: ./test/fixture
- run: |
echo "${{ steps.tauri_build.outputs.artifacts }}"
# The artifacts output can now be used to upload the artifacts
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: "${{ join(fromJSON(steps.tauri_build.outputs.artifacts), '\n') }}"

View File

@ -1,5 +1,61 @@
# Changelog
## \[1.5.11]
- Bump Tauri to 1.5.11
- [d749ebb](https://github.com/JonasKruckenberg/tauri-build/commit/d749ebb9bc9fe181aa1f61f294b323c751e9f09e) Create bump-tauri.md on 2022-09-24
- [5cfbb48](https://github.com/JonasKruckenberg/tauri-build/commit/5cfbb48254bda2944898618864feab9ce333e555) publish new versions on 2022-09-24
- [ae03b5c](https://github.com/JonasKruckenberg/tauri-build/commit/ae03b5c9d2dfe37115cdf1ce8735b94ed6df1b1d) bump tauri on 2024-03-27
- [da63165](https://github.com/JonasKruckenberg/tauri-build/commit/da631651080a3f6a054a04689aabcced0fb27166) publish new versions on 2024-03-27
- [2143a74](https://github.com/JonasKruckenberg/tauri-build/commit/2143a74716c973189a1c68171024c772ce99f962) bump tauri on 2024-03-27
- [ae1bfe9](https://github.com/JonasKruckenberg/tauri-build/commit/ae1bfe9746502983323c5b20fc273fca9ddc2f83) publish new versions on 2024-03-27
- [1a70e16](https://github.com/JonasKruckenberg/tauri-build/commit/1a70e162c264affc4fe3f3acf9dbea4a0717a508) bump tauri to 1.5.2 on 2024-03-27
- [c450190](https://github.com/JonasKruckenberg/tauri-build/commit/c450190ba4fafae76975e9757a9d02a34262eb17) Update bump-tauri.md on 2024-03-27
- [a712643](https://github.com/JonasKruckenberg/tauri-build/commit/a712643d07f25c79a741552ea2f6f425c8c201ba) publish new versions on 2024-03-27
- [c761657](https://github.com/JonasKruckenberg/tauri-build/commit/c761657ea88b1f42b9fc4b5c00f7b712531ed8f5) bump tauri to 1.5.4 on 2024-03-27
- [b276ab4](https://github.com/JonasKruckenberg/tauri-build/commit/b276ab4f56979d0c6def87108ca74b8953fa1121) publish new versions on 2024-03-27
- [e6488f6](https://github.com/JonasKruckenberg/tauri-build/commit/e6488f6ca27d6ecb050073bc1acf6969cc846362) bump tauri to 1.5.5 on 2024-03-27
- [adafea7](https://github.com/JonasKruckenberg/tauri-build/commit/adafea7f538516a594a02b2faa14fe02b871afc9) publish new versions on 2024-03-27
- [d204133](https://github.com/JonasKruckenberg/tauri-build/commit/d20413310668195c4b70fcde98fe2ff11a5beb76) bump tauri to 1.5.6 on 2024-03-27
- [60bf491](https://github.com/JonasKruckenberg/tauri-build/commit/60bf4916f05d542730244eaab1544456cb465745) publish new versions on 2024-03-27
- [f912eb2](https://github.com/JonasKruckenberg/tauri-build/commit/f912eb2f75a12645f5411355019490ec200fb755) bump tauri to 1.5.7 on 2024-03-27
- [60da836](https://github.com/JonasKruckenberg/tauri-build/commit/60da836ab0fa46ae8f01076875952eb17c4c7e22) publish new versions on 2024-03-27
- [3af1940](https://github.com/JonasKruckenberg/tauri-build/commit/3af1940371c9f65d0d46fe2d2cc64b517f7a704a) bump tauri to 1.5.8 on 2024-03-27
- [9724fd9](https://github.com/JonasKruckenberg/tauri-build/commit/9724fd9351dcd083aa242854d3da65306e5d36c5) publish new versions on 2024-03-27
- [4ef3b52](https://github.com/JonasKruckenberg/tauri-build/commit/4ef3b52b28cff111f75bf9f22f20f48cc48e8be2) bump tauri to 1.5.11 on 2024-03-27
- [5423222](https://github.com/JonasKruckenberg/tauri-build/commit/54232224730a63599b526de8543f553a65a9ac33) publish new versions on 2024-03-27
- [3fda59d](https://github.com/JonasKruckenberg/tauri-build/commit/3fda59d57a1ae7009850f6b71d78262b97578f46) bump tauri to 1.5.10 on 2024-03-27
- [39921cb](https://github.com/JonasKruckenberg/tauri-build/commit/39921cb0909bca56a36ee59de7fcbf3728e63189) publish new versions on 2024-03-27
- [d87106e](https://github.com/JonasKruckenberg/tauri-build/commit/d87106eb09dc3049ecfd30c4f6ca17b462bc0eb8) bump tauri to 1.5.11 on 2024-03-27
- [f66ea66](https://github.com/JonasKruckenberg/tauri-build/commit/f66ea660359dba143165ce2354a72b103fdb7854) Revert "bump tauri to 1.5.11" on 2024-03-27
- [ac9a4e1](https://github.com/JonasKruckenberg/tauri-build/commit/ac9a4e15515f1abd52d8f76a82d1e6b8aed43ba8) Revert "Revert "bump tauri to 1.5.11"" on 2024-03-27
## \[1.5.10]
- Bump Tauri to 1.5.10
- [d749ebb](https://github.com/JonasKruckenberg/tauri-build/commit/d749ebb9bc9fe181aa1f61f294b323c751e9f09e) Create bump-tauri.md on 2022-09-24
- [5cfbb48](https://github.com/JonasKruckenberg/tauri-build/commit/5cfbb48254bda2944898618864feab9ce333e555) publish new versions on 2022-09-24
- [ae03b5c](https://github.com/JonasKruckenberg/tauri-build/commit/ae03b5c9d2dfe37115cdf1ce8735b94ed6df1b1d) bump tauri on 2024-03-27
- [da63165](https://github.com/JonasKruckenberg/tauri-build/commit/da631651080a3f6a054a04689aabcced0fb27166) publish new versions on 2024-03-27
- [2143a74](https://github.com/JonasKruckenberg/tauri-build/commit/2143a74716c973189a1c68171024c772ce99f962) bump tauri on 2024-03-27
- [ae1bfe9](https://github.com/JonasKruckenberg/tauri-build/commit/ae1bfe9746502983323c5b20fc273fca9ddc2f83) publish new versions on 2024-03-27
- [1a70e16](https://github.com/JonasKruckenberg/tauri-build/commit/1a70e162c264affc4fe3f3acf9dbea4a0717a508) bump tauri to 1.5.2 on 2024-03-27
- [c450190](https://github.com/JonasKruckenberg/tauri-build/commit/c450190ba4fafae76975e9757a9d02a34262eb17) Update bump-tauri.md on 2024-03-27
- [a712643](https://github.com/JonasKruckenberg/tauri-build/commit/a712643d07f25c79a741552ea2f6f425c8c201ba) publish new versions on 2024-03-27
- [c761657](https://github.com/JonasKruckenberg/tauri-build/commit/c761657ea88b1f42b9fc4b5c00f7b712531ed8f5) bump tauri to 1.5.4 on 2024-03-27
- [b276ab4](https://github.com/JonasKruckenberg/tauri-build/commit/b276ab4f56979d0c6def87108ca74b8953fa1121) publish new versions on 2024-03-27
- [e6488f6](https://github.com/JonasKruckenberg/tauri-build/commit/e6488f6ca27d6ecb050073bc1acf6969cc846362) bump tauri to 1.5.5 on 2024-03-27
- [adafea7](https://github.com/JonasKruckenberg/tauri-build/commit/adafea7f538516a594a02b2faa14fe02b871afc9) publish new versions on 2024-03-27
- [d204133](https://github.com/JonasKruckenberg/tauri-build/commit/d20413310668195c4b70fcde98fe2ff11a5beb76) bump tauri to 1.5.6 on 2024-03-27
- [60bf491](https://github.com/JonasKruckenberg/tauri-build/commit/60bf4916f05d542730244eaab1544456cb465745) publish new versions on 2024-03-27
- [f912eb2](https://github.com/JonasKruckenberg/tauri-build/commit/f912eb2f75a12645f5411355019490ec200fb755) bump tauri to 1.5.7 on 2024-03-27
- [60da836](https://github.com/JonasKruckenberg/tauri-build/commit/60da836ab0fa46ae8f01076875952eb17c4c7e22) publish new versions on 2024-03-27
- [3af1940](https://github.com/JonasKruckenberg/tauri-build/commit/3af1940371c9f65d0d46fe2d2cc64b517f7a704a) bump tauri to 1.5.8 on 2024-03-27
- [9724fd9](https://github.com/JonasKruckenberg/tauri-build/commit/9724fd9351dcd083aa242854d3da65306e5d36c5) publish new versions on 2024-03-27
- [4ef3b52](https://github.com/JonasKruckenberg/tauri-build/commit/4ef3b52b28cff111f75bf9f22f20f48cc48e8be2) bump tauri to 1.5.11 on 2024-03-27
- [5423222](https://github.com/JonasKruckenberg/tauri-build/commit/54232224730a63599b526de8543f553a65a9ac33) publish new versions on 2024-03-27
- [3fda59d](https://github.com/JonasKruckenberg/tauri-build/commit/3fda59d57a1ae7009850f6b71d78262b97578f46) bump tauri to 1.5.10 on 2024-03-27
## \[1.5.9]
- Bump Tauri to 1.5.9

View File

@ -4,10 +4,10 @@ A composable action to build your Tauri project.
## Usage
As opposed to the offical [tauri-action](https://github.com/tauri-apps/tauri-action) this action is as minimal as possible.
As opposed to the offical [tauri-action](https://github.com/tauri-apps/tauri-action) this action is as minimal as possible.
Instead of creating a GitHub release and uploading artifacts all-in-one, it provides outputs to conveniently compose together with other actions such as `actions/upload-artifact`, `actions/download-artifact` or `softprops/action-gh-release`.
This action needs both Node.JS and Cargo to be already setup.
This action needs both Node.JS and Cargo to be already setup.
### Minimal
@ -39,7 +39,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 20
- name: install Rust stable
uses: actions-rs/toolchain@v1
@ -88,7 +88,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 20
- name: install Rust stable
uses: actions-rs/toolchain@v1
@ -165,11 +165,11 @@ jobs:
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: 'Setup Rust'
uses: actions-rs/toolchain@v1

View File

@ -21,5 +21,5 @@ outputs:
artifacts:
description: 'JSON array of artifact paths produced by the build command'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'

BIN
dist/cli.darwin-arm64.node generated vendored Normal file

Binary file not shown.

BIN
dist/cli.darwin-x64.node generated vendored

Binary file not shown.

BIN
dist/cli.linux-x64-gnu.node generated vendored

Binary file not shown.

BIN
dist/cli.win32-x64-msvc.node generated vendored

Binary file not shown.

46
dist/index.js generated vendored
View File

@ -1,21 +1,28 @@
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ 3702:
/***/ 8202:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.darwin-arm64.node")
/***/ }),
/***/ 5731:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.darwin-x64.node")
/***/ }),
/***/ 1018:
/***/ 1911:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.linux-x64-gnu.node")
/***/ }),
/***/ 4224:
/***/ 5387:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
module.exports = require(__nccwpck_require__.ab + "cli.win32-x64-msvc.node")
@ -64,7 +71,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.buildProject = void 0;
const cli_1 = __nccwpck_require__(7583);
const cli_1 = __nccwpck_require__(7581);
const path_1 = __nccwpck_require__(1017);
const tiny_glob_1 = __importDefault(__nccwpck_require__(5745));
const core = __importStar(__nccwpck_require__(9093));
@ -109,7 +116,14 @@ function buildProject(options) {
'AppImage.tar.gz.sig',
'deb'
];
const windowsExts = ['exe', 'exe.zip', 'exe.zip.sig', 'msi', 'msi.zip', 'msi.zip.sig'];
const windowsExts = [
'exe',
'exe.zip',
'exe.zip.sig',
'msi',
'msi.zip',
'msi.zip.sig'
];
const artifactsLookupPattern = `${bundleDir}/*/!(linuxdeploy)*.{${[
...macOSExts,
linuxExts,
@ -2075,7 +2089,7 @@ function isLoopbackAddress(host) {
/***/ }),
/***/ 7713:
/***/ 4080:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/* tslint:disable */
@ -2149,7 +2163,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = __nccwpck_require__(7937)
} else {
nativeBinding = __nccwpck_require__(4224)
nativeBinding = __nccwpck_require__(5387)
}
} catch (e) {
loadError = e
@ -2204,7 +2218,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = __nccwpck_require__(8300)
} else {
nativeBinding = __nccwpck_require__(3702)
nativeBinding = __nccwpck_require__(5731)
}
} catch (e) {
loadError = e
@ -2218,7 +2232,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = __nccwpck_require__(9209)
} else {
nativeBinding = __nccwpck_require__(1202)
nativeBinding = __nccwpck_require__(8202)
}
} catch (e) {
loadError = e
@ -2267,7 +2281,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = __nccwpck_require__(2308)
} else {
nativeBinding = __nccwpck_require__(1018)
nativeBinding = __nccwpck_require__(1911)
}
} catch (e) {
loadError = e
@ -2340,14 +2354,14 @@ module.exports.logError = logError
/***/ }),
/***/ 7583:
/***/ 7581:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
const { run, logError } = __nccwpck_require__(7713)
const { run, logError } = __nccwpck_require__(4080)
module.exports.run = (args, binName) => {
return new Promise((resolve, reject) => {
@ -25835,14 +25849,6 @@ module.exports = eval("require")("@tauri-apps/cli-android-arm-eabi");
module.exports = eval("require")("@tauri-apps/cli-android-arm64");
/***/ }),
/***/ 1202:
/***/ ((module) => {
module.exports = eval("require")("@tauri-apps/cli-darwin-arm64");
/***/ }),
/***/ 4997:

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

3
dist/licenses.txt generated vendored
View File

@ -238,6 +238,9 @@ Apache-2.0 OR MIT
END OF TERMS AND CONDITIONS
@tauri-apps/cli-darwin-arm64
MIT
@tauri-apps/cli-darwin-x64
MIT

View File

@ -1,6 +1,6 @@
{
"name": "tauri-build",
"version": "1.5.9",
"version": "1.5.11",
"description": "TypeScript template action",
"main": "lib/main.js",
"scripts": {
@ -24,10 +24,11 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.1",
"@tauri-apps/cli": "1.5.9",
"@tauri-apps/cli-darwin-x64": "1.5.9",
"@tauri-apps/cli-linux-x64-gnu": "1.5.9",
"@tauri-apps/cli-win32-x64-msvc": "1.5.9",
"@tauri-apps/cli": "1.6.0",
"@tauri-apps/cli-darwin-x64": "1.6.0",
"@tauri-apps/cli-darwin-arm64": "1.6.0",
"@tauri-apps/cli-linux-x64-gnu": "1.6.0",
"@tauri-apps/cli-win32-x64-msvc": "1.6.0",
"string-argv": "^0.3.2",
"tiny-glob": "^0.2.9"
},
@ -40,5 +41,6 @@
"js-yaml": "4.1.0",
"prettier": "3.0.3",
"typescript": "5.3.3"
}
},
"packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247"
}

2937
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff