Commit Graph

42 Commits

Author SHA1 Message Date
Dylan
4cc19c7d3f Pin actions/upload-artifact to SHA 2025-08-13 21:03:10 -05:00
Fabian Aguilar Gomez
aefddd41c8 Updates from editor 2024-09-06 15:40:26 -05:00
Fabian Aguilar Gomez
7abc80a9c4 ignore all hidden files when creating zip 2024-09-06 15:26:51 -05:00
Shengyu Zhang
794e304fb3 Group tar's output to prevent it from messing up logs
When it is used as a component of a composite action.
2024-02-02 21:10:10 +08:00
Rob Herley
257e666c05 Use v4 upload-artifact tag
Artifacts v4 have been GA'd:
- https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available

We should use that tag going forward!
2023-12-14 14:04:50 -05:00
Konrad Pabjan
1228e65686 Update action.yml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2023-10-27 11:19:41 -04:00
Konrad Pabjan
e699324f6a Upload pages artifact with upload-artifact@v4-beta 2023-10-26 13:48:59 -04:00
James M. Greene
9c071e6bed Reapply PR #63 for v2 2023-07-10 11:05:03 -05:00
James M. Greene
75e09bde99 Revert PR #63
It represents a breaking change that we should move into a v2.0.0 release
2023-07-10 10:54:54 -05:00
Fabian Aguilar Gomez
dd7005653b Update action.yml 2023-06-15 12:37:17 -05:00
Fabian Aguilar Gomez
2642ae83d2 Update action.yml 2023-06-13 16:33:18 -05:00
James M. Greene
d07e4817c2 Lock in at a major version of actions/upload-artifact to prevent potential future breaks 2023-03-24 10:10:04 -05:00
James M. Greene
07744da919 Fail if no artifact file is found to upload
Fixes #24
2023-03-23 22:37:03 -05:00
Kye Russell
98c5608efa Don't change file permissions of other files
Fixes #43
2022-12-16 12:44:24 +08:00
Yoann Chaudet
b27b6af8bf Merge branch 'main' into customize-artifact-name 2022-12-08 15:27:57 -08:00
Yoann Chaudet
6da3417318 Wording 2022-12-08 14:48:49 -08:00
Yoann Chaudet
386aa88c28 Include folder 2022-12-08 14:44:29 -08:00
Yuriy Danyliuk
90d4377601 Add new input for artifact name 2022-12-05 03:31:49 +02:00
Jess Bees
7d0004809d Print warnings about changed file permissions in bulk
This will avoid mangled output when files have spaces within them.
2022-11-29 16:56:15 -05:00
Jess Bees
6de1c7ae49 Fix the mac shell script 2022-11-15 10:18:49 -05:00
Jess Bees
de1b81a30a Use macos's non-gnu version of chmod 2022-11-14 11:41:47 -05:00
Jess Bees
61a978d261 Send a workflow warning when changing file permissions 2022-11-08 10:53:50 -05:00
Jess Bees
3cb2c0f93b Before tarring site, set file read permissions
Pages DFS needs the "group read" permission set on any file it serves,
so add read permission before tarring to prevent unreadable files from
being deployed.

This only applies to files that are built on an actions runner, not
files that are cloned from a git repoitory, because git's permissions
are limited to the equivalents of chmod 644 and 755.
2022-11-07 13:02:01 -05:00
Naïm Favier
12e73a1efa Fall back to sh on non-Windows
Fixes https://github.com/actions/upload-pages-artifact/issues/13
2022-10-29 11:59:56 +02:00
James M. Greene
fa880244ea Remove redundant environment variable 2022-09-02 17:14:45 -05:00
Kyle Lacy
70a14093be Handle weird input paths by passing as env var 2022-08-27 12:42:58 -07:00
James M. Greene
fd7afbc054 Add author 2022-08-10 13:59:28 -05:00
James M. Greene
16e781d8a4 Update action.yml 2022-08-10 12:49:12 -05:00
Dezmerean Robert
e361946409 Apply suggestions from code review
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
2022-08-09 21:49:27 +03:00
Robert-96
ef7661905b Add support for macOS-based workflows 2022-08-09 02:25:59 +03:00
meowsbits
4fe9084ffa fix syntax typo 2022-08-03 08:05:15 -07:00
Yoann Chaudet
4143b6e8b8 Add support for tar on Windows 2022-08-01 06:53:06 -07:00
Yoann Chaudet
9bd2be6899 Merge pull request #1 from actions/doc
Document artifacts validation + reformat a few things
2022-07-13 12:15:18 -07:00
Yoann Chaudet
f4df6221cc Also .github folder from artifacts 2022-07-13 11:56:17 -07:00
Yoann Chaudet
8b46ca5bf4 Document artifacts validation + reformat a few things 2022-07-13 11:47:37 -07:00
Yoann Chaudet
2bcc396751 Fix typo 2022-05-24 14:30:41 -07:00
Yoann Chaudet
dcb017a530 Minor adjustments + retention 2022-05-24 11:12:29 -07:00
Tommy Byrd
f2cce63665 remove workspace from artifact path too 2022-05-10 22:20:24 -04:00
Tommy Byrd
83028f3e20 don't use workspace dir 2022-05-10 22:18:44 -04:00
Tommy Byrd
1a3fc4f053 add shell param 2022-05-10 22:17:15 -04:00
Tommy Byrd
4c1e52ec7d remove comment 2022-05-10 22:10:10 -04:00
Tommy Byrd
31685c90ba Create action.yml 2022-05-10 22:02:28 -04:00