David Sangrey
b3bfd0d180
[2368] Remove Wheel References
...
Per SetupTools v70.1, wheel is no longer required.
2025-02-11 16:16:39 -05:00
Athanasius
214bed27ee
.github: workflows: Guard any shell $VAR with "..."
...
This is with regards to what happened to another project, ref:
<https://www.wiz.io/blog/ultralytics-ai-library-hacked-via-github-for-cryptomining >
Basically, do NOT trust that things like branch names don't contain any
attempt at executing shell code if referenced in a workflow segment that
runs a shell command.
2024-12-09 21:43:47 +00:00
David Sangrey
695417f4fc
[ #1249 ] Add Cache actions
...
Will speed up workflow testing
2024-05-06 13:34:21 -04:00
David Sangrey
6020bbb05e
[ #2149 ] Update Build System
2024-05-05 19:43:22 -04:00
David Sangrey
b30e006575
[519] Update Workflows and Python Version
2024-05-05 18:34:07 -04:00
dependabot[bot]
25d52eacf6
build(deps): bump softprops/action-gh-release from 1 to 2
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 17:29:12 +00:00
David Sangrey
26266d4279
[Minor] Update Dependencies and Prep for Code Signing
2024-03-14 13:58:12 -04:00
David Sangrey
5419e2e47f
[Workflow] Revert Bad Workflow Update
2024-01-03 19:48:51 -05:00
David Sangrey
7f8d54667f
[Revert] Revert Bad upload-artifact Update
...
https://github.com/actions/upload-artifact/issues/478
2024-01-03 19:38:37 -05:00
David Sangrey
7cf78a5075
[Minor] Update Winsparkle Version
2024-01-03 19:15:39 -05:00
David Sangrey
b81cfab786
Merge pull request #2133 from EDCD/dependabot/github_actions/develop/actions/setup-python-5
...
build(deps): bump actions/setup-python from 4 to 5
2024-01-01 18:02:04 -05:00
David Sangrey
4e99a15e53
Merge pull request #2132 from EDCD/dependabot/github_actions/develop/actions/download-artifact-4
...
build(deps): bump actions/download-artifact from 3 to 4
2024-01-01 18:01:37 -05:00
dependabot[bot]
f2297698f2
build(deps): bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:54:14 +00:00
dependabot[bot]
42c63b37e9
build(deps): bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:54:09 +00:00
dependabot[bot]
66ea2d3886
build(deps): bump actions/download-artifact from 3 to 4
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 17:54:03 +00:00
David Muckle
4ae516677e
More excludes, change path for .gitversion
2023-12-24 10:34:35 -05:00
David Muckle
ffecae17a7
Need 8 characters
2023-12-24 10:28:50 -05:00
David Muckle
16f584b519
Rename for testing
2023-12-24 10:25:44 -05:00
David Muckle
e6e49d4601
Include .gitversion in linux archive
2023-12-23 20:20:00 -05:00
dependabot[bot]
7902610d10
build(deps): bump actions/github-script from 6 to 7
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 17:36:48 +00:00
David Sangrey
c8edce26e6
[2051] Workflow and Requirement Update
2023-11-16 16:11:14 -05:00
dependabot[bot]
3b663c18ff
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:22:33 +00:00
David Sangrey
264aaeee64
#1009 Force Latest Winsparkle for Builds
2023-08-31 12:01:17 -04:00
David Sangrey
8e7f7d6587
#2040 Hand over WIX to InnoSetup
2023-07-27 11:06:37 -04:00
David Sangrey
247d632cc6
#2040 First Pass - Update Build System
2023-07-26 22:49:03 -04:00
David Sangrey
bec6faaf42
Pre-Release 5.9.0-rc1: appversion and changelog
2023-07-23 17:53:14 -04:00
Athanasius
ee5931db4a
windows-build: Revert WinSparkle DLL to 32-bit, not 64-bit
...
Some testing of 64-bit builds must have accidentally left this in place.
2023-01-20 11:46:57 +00:00
Athanasius
48a80411b4
windows-build/tar: Make archive at .. and then mv into 'root'
...
* Because the archive is a new file in the root it causes:
`tar: EDMarketConnector: file changed as we read it`
Verified on Linux/Debian, and also verified that this fix works.
2023-01-12 13:47:41 +00:00
Athanasius
2678d7d63f
windows-build/tar: New job needs to depend on variables
2023-01-12 13:10:43 +00:00
Athanasius
bcfcc8c71c
windows-build/tar: tar needs to be in job *after* variables
...
At least we had `-f EDMarketConnector-release-.tar.gz ` which implies the
`needs.variables.outputs.sem_ver` variable wasn't yet set.
2023-01-12 13:06:53 +00:00
Athanasius
a00c6f789a
windows-build/tar: Adjust argument ordering
...
`-C ..` applies to anything that happens after it, so needs to be after the
`-f <file>`.
2023-01-12 13:03:06 +00:00
Athanasius
d52f161dc9
windows-build/tar: run
, not script
.
2023-01-12 12:58:10 +00:00
Athanasius
048be66f54
windows-build/tar: Just run a tar command ourselves directly
...
thedoctor0/zip-release has a bug where only the first word in `exclusions`
has `--exclude=` pre-pended to it, the other words being treated as input
filenames/globs/paths. So, let's do this manually.
2023-01-12 12:54:19 +00:00
Athanasius
042c8d4ff2
windows-build/tar: Move to running under ubuntu
...
* On windows specifying only filenames to exclusions causes things like
`tar: .editorconfig: Cannot stat: No such file or directory`
But putting `EDMarketConnector/` prefix on such means they don't work.
* Testing with 'git bash' GNU tar 1.34:
`tar -c -v -z -f edmc-test.tar.gz --exclude=.editorconfig --exclude=.git\* EDMarketConnector`
works, with empty output from:
`tar tfvz edmc-test.tar.gz | grep editorconfig`
2023-01-12 12:34:44 +00:00
Athanasius
3e05f91949
windows-build/tar: Now we have directory
we *do* need exclusion paths
...
* Maybe I was wrong about not needing the prefix path on tar exclusions,
because that was when I'd not copied `directory`.
2023-01-12 12:18:09 +00:00
Athanasius
15ee894142
windows-build/archives: Re-order to very early, add directory
to tar
...
* I'd missed copying the `directory` line from zip to tar step.
* There's no reason we can't perform these steps *before* the build, or
even the python setup, so move them up there. That has the near side-effect
of not needing to exclude so much stuff.
2023-01-12 12:14:00 +00:00
Athanasius
7098479902
windows-build/tar: Different specification of exclusions
2023-01-12 12:03:51 +00:00
Athanasius
43d10ab29a
windows-build/archives: Can't multiple setOutput, use env instead
...
* As the archive exclusions is static, we can just set it in workflow env.
2023-01-12 11:53:17 +00:00
Athanasius
4edebf981f
windows-build/archives: Create .tar.gz as well
...
* Move the definition of archive excludes to a global variable.
* Add another step to create a tar(.gz) archive as well.
* Add .tar.gz to the `Built files` handling.
2023-01-12 11:39:35 +00:00
Athanasius
64b1a4afd6
windows-build/custom zip: Add comment about the "too long args" issue
2023-01-11 18:10:18 +00:00
Athanasius
804b450c82
windows-build: Custom zip: Reduce exclusions
...
It *seems* we don't need to specify both a directory and its contents.
Also, hopefully this will fix the:
Creating zip archive...
Command Line Error:
Unknown switch:
-
which the last run got. That was where the 'root' directory prefix was
added to all exclusions. Maybe the commandline got too long ?
2023-01-11 13:19:04 +00:00
Athanasius
0c0c14166d
windows-build: custom zip exclusions need 'root' prefix
...
Also, comment out exactly what we're doing in the zip-release configuration,
and why.
2023-01-11 12:58:05 +00:00
Athanasius
531c839d13
windows-build: Specify custom zip to be in the 'root' directory
...
zip-release does indeed create this in `directory`, so we need to specify
it should be *in* the 'root' directory that we're including *in* the zip file.
2023-01-11 12:46:28 +00:00
Athanasius
2531e6de23
windows-build: Can't use relative path for upload-artifact
...
So, let's *hope* that zip-release still puts the .zip it creates in the
main directory, despite being told to create it from the parent.
2023-01-11 12:38:08 +00:00
Athanasius
35b5a90409
windows-build: Custom zip: Include top-level directory, and exclude more
2023-01-11 12:27:17 +00:00
Athanasius
c48cfeca5d
windows-build: Fix 'needs' reference to windows_build job
2023-01-11 12:12:30 +00:00
Athanasius
c8e6285a13
windows-build: Create a custom release .zip
2023-01-11 12:05:53 +00:00
Athanasius
a67609696c
windows-build: Properly name the build job
2023-01-11 11:36:54 +00:00
Athanasius
b678985fa6
github: windows-build: Use x64 versions of WinSparkle files
2022-12-23 15:45:02 +00:00
Athanasius
8eaf1ec70f
windows-build: Switch github workflow to freeze method
2022-09-24 11:05:00 +01:00