Skip to content

Commit

Permalink
Preserve modification time in archives built by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
polybluez committed Dec 21, 2024
1 parent 825ffba commit 418431d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Enter shell with needed dependencies
run: |
nix shell --inputs-from . nixpkgs#jq nixpkgs#p7zip nixpkgs#git nixpkgs#findutils
nix shell --inputs-from . nixpkgs#jq nixpkgs#_7zz nixpkgs#git nixpkgs#findutils
- name: Update Doom2D related inputs
run: |
nix flake update d2df-sdl d2df-editor doom2df-res
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
cp -r build/doom2df-win32/bin/* doom2df-win32
cp -r build/doom2df-win32/assets/* doom2df-win32
7z a -tzip doom2df-win32.zip -w doom2df-win32/.
nix run --inputs-from . nixpkgs#_7zz -- a -mtc -mta -mtm -stl -ssp -tzip doom2df-win32.zip -w doom2df-win32/.
- uses: actions/upload-artifact@v4
with:
name: doom2df-win32
Expand Down
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@
bash
alejandra
nixd
jq
_7zz
git
findutils
];
};
});
Expand Down

0 comments on commit 418431d

Please sign in to comment.