Add System Info

This commit is contained in:
xopenwrt
2023-12-18 00:49:45 +08:00
committed by GitHub
parent 1ac17b567e
commit 8661af9d1c
6 changed files with 92 additions and 4 deletions
+14
View File
@@ -68,6 +68,8 @@ jobs:
echo "::set-output name=date::$(date +'%Y-%m-%d')"
echo "Release=${{ github.event.inputs.Release }}" >> $GITHUB_ENV
echo "SharePoint=${{ github.event.inputs.SharePoint }}" >> $GITHUB_ENV
echo "data2=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
echo "NOW_DATA_VERSION=v$(date +'%Y-%m-%d')" >> $GITHUB_ENV
if [ "${{ env.DELETE_USELESS_FILES }}" == true ]
then
docker rmi node:18 node:18-alpine node:16-alpine alpine:3.16 alpine:3.17 alpine:3.18 moby/buildkit:latest node:16 ubuntu:20.04 buildpack-deps:stretch buildpack-deps:buster buildpack-deps:bullseye debian:9 debian:10 debian:11
@@ -85,6 +87,18 @@ jobs:
remove-android: 'true'
remove-haskell: 'true'
- name: Set env & Echo System Info
id: date2
run: |
export NOW_DATA_VERSION=${{env.NOW_DATA_VERSION}}
export GITHUB_WORKSPACE=$GITHUB_WORKSPACE
chmod +x $GITHUB_WORKSPACE/Scripts/AutoBuild_*.sh
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Getenv.sh
Get_Action_Info
Get_Release_Info
- name: Checkout
uses: actions/checkout@main
with: