Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute installation scripts feature, debug mode, and permission denied fix. #64

Merged
merged 30 commits into from
Nov 20, 2022
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2e7229d
Fix permission denied error.
awalsh128 Sep 1, 2022
09f9c08
Fix permission denied error. (#51)
awalsh128 Sep 1, 2022
dc694f2
Remove compression from file caching. (#53)
awalsh128 Sep 4, 2022
c85f53f
Merge branch 'staging' into dev
awalsh128 Sep 4, 2022
00e34cb
Draft of postinst support from issue #44.
awalsh128 Sep 10, 2022
7a2a390
Remove bad option.
awalsh128 Sep 13, 2022
270a157
Removed extraneous line.
awalsh128 Sep 13, 2022
e32a1a4
Cover no packages edge case when writing manifest.
awalsh128 Sep 13, 2022
673318d
Fix postinst bugs and add docs to lib.
awalsh128 Sep 13, 2022
86a813e
Made cache directory variable and more refinements to postinst.
awalsh128 Oct 16, 2022
4b708c1
Update deprecated option.
awalsh128 Oct 30, 2022
0511abb
Rollback accidental commit of new postinst feature.
awalsh128 Oct 30, 2022
29bff55
Minor edit ands full install script execution FR.
awalsh128 Nov 19, 2022
110c8b1
Fix execute_install_scripts message to show the right param name.
awalsh128 Nov 19, 2022
e1665e5
Fix param check.
awalsh128 Nov 19, 2022
b7e5fed
Minor fix to doc.
awalsh128 Nov 19, 2022
a3adb15
Upload action logs for debugging.
awalsh128 Nov 19, 2022
ad4e1d0
Make artifact names unique.
awalsh128 Nov 19, 2022
db80483
Add debug option.
awalsh128 Nov 19, 2022
c19c6c3
Update description.
awalsh128 Nov 19, 2022
76128c6
Debug package list issue.
awalsh128 Nov 19, 2022
07aa58e
Rollback https://github.com/awalsh128/cache-apt-pkgs-action/commit/76…
awalsh128 Nov 19, 2022
25fa2fb
Revert outputs set behavior to see if it fixes outputs issue in dev.
awalsh128 Nov 20, 2022
2fcdd38
Restore updated outputs behavior. So strange it is working when I rev…
awalsh128 Nov 20, 2022
f076e88
Fix bugs in install script execution.
awalsh128 Nov 20, 2022
aa86a37
Add error suppression on file testing.
awalsh128 Nov 20, 2022
63736e2
Debug feature.
awalsh128 Nov 20, 2022
f620762
Link to the issue that started the postinst troubleshooting.
awalsh128 Nov 20, 2022
a307fb6
Describe action version usage.
awalsh128 Nov 20, 2022
0247276
Fix package outputs command.
awalsh128 Nov 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update deprecated option.
awalsh128 committed Oct 30, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 4b708c1257b22a469183a41b33db851d3029e9d9
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -44,6 +44,7 @@ runs:
${{ github.action_path }}/pre_cache_action.sh \
~/cache-apt-pkgs \
"${{ inputs.version }}" \
"${{ inputs.execute_postinst }}" \
${{ inputs.packages }}
echo "CACHE_KEY=$(cat ~/cache-apt-pkgs/cache_key.md5)" >> $GITHUB_ENV
shell: bash
@@ -63,6 +64,6 @@ runs:
"${{ inputs.execute_postinst }}" \
${{ inputs.packages }}
function create_list { local list=$(cat ~/cache-apt-pkgs/manifest_${1}.log | tr '\n' ','); echo ${list:0:-1}; };
echo "::set-output name=package-version-list::$(create_list main)"
echo "::set-output name=all-package-version-list::$(create_list all)"
echo "name=package-version-list::$(create_list main)" >> $GITHUB_OUTPUT
echo "name=all-package-version-list::$(create_list all)" >> $GITHUB_OUTPUT
shell: bash