Compare commits

...

7 Commits

Author SHA1 Message Date
kawa 14bb1a7c13 Merge branch 'main' of https://git.azuze.fr/kawa/Sharepoint-Toolbox 2026-03-11 11:05:52 +01:00
kawa a256e30c59 New logo 2026-03-11 11:05:17 +01:00
kawa 2856964858 Update README.md 2026-03-10 17:11:07 +01:00
kawa 3ca58a4da0 Updated Workflow 2026-03-10 17:09:08 +01:00
kawa 2cc9d91f5a Do not upload wiki files here 2026-03-10 15:29:05 +01:00
kawa ee609cfaa4 Update
Release zip package / release (push) Successful in 0s
2026-03-10 14:59:23 +01:00
kawa 245f2d6b69 Updated workflow
Release zip package / release (push) Successful in 9s
2026-03-10 14:50:06 +01:00
6 changed files with 33 additions and 21 deletions
+29 -20
View File
@@ -1,3 +1,4 @@
#Wkf
name: Release zip package name: Release zip package
on: on:
@@ -10,28 +11,36 @@ jobs:
runs-on: native runs-on: native
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 run: |
git clone "$GITEA_SERVER_URL/$GITEA_REPO.git" repo
cd repo && git checkout "$GITEA_REF_NAME"
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPO: ${{ gitea.repository }}
GITEA_REF_NAME: ${{ gitea.ref_name }}
- name: Build zip - name: Build zip
shell: pwsh
run: | run: |
$version = $env:GITHUB_REF_NAME cd repo
$zip = "SharePoint_ToolBox_${version}.zip" VERSION="${{ gitea.ref_name }}"
Compress-Archive -Force -Path Sharepoint_ToolBox.ps1, lang -DestinationPath $zip ZIP="SharePoint_ToolBox_${VERSION}.zip"
"ZIP=$zip" >> $env:GITHUB_ENV zip -r "../${ZIP}" Sharepoint_ToolBox.ps1 lang/
"VERSION=$version" >> $env:GITHUB_ENV echo "ZIP=${ZIP}" >> "$GITHUB_ENV"
echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
- name: Create release and upload asset - name: Create release
uses: https://gitea.com/actions/gitea-release-action@latest run: |
with: RELEASE_ID=$(curl -sf -X POST \
token: ${{ secrets.RELEASE_TOKEN }} "${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases" \
tag_name: ${{ env.VERSION }} -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
release_name: "SharePoint ToolBox ${{ env.VERSION }}" -H "Content-Type: application/json" \
body: | -d "{\"tag_name\":\"${{ env.VERSION }}\",\"name\":\"SharePoint ToolBox ${{ env.VERSION }}\",\"body\":\"### How to use\\n1. Download and extract the archive\\n2. Launch Sharepoint_ToolBox.ps1 with PowerShell\\n\"}" \
## SharePoint ToolBox ${{ env.VERSION }} | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")
echo "RELEASE_ID=${RELEASE_ID}" >> "$GITHUB_ENV"
### Installation - name: Upload asset
1. Télécharger et extraire le zip run: |
2. Lancer `Sharepoint_ToolBox.ps1` avec PowerShell curl -sf -X POST \
3. Prérequis : module `PnP.PowerShell` (`Install-Module PnP.PowerShell`) "${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases/${{ env.RELEASE_ID }}/assets" \
files: ${{ env.ZIP }} -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
-F "attachment=@${{ env.ZIP }}"
+3
View File
@@ -3,3 +3,6 @@
*.json *.json
!lang/ !lang/
!lang/*.json !lang/*.json
!wiki/
!wiki/*.html
!wiki/*.md
+1 -1
View File
@@ -1,4 +1,4 @@
![SPToolbox-logo](https://git.azuze.fr/kawa/Sharepoint-Toolbox/raw/branch/main/SPToolbox-logo-dark.png) ![SPToolbox-logo](https://git.azuze.fr/kawa/Sharepoint-Toolbox/raw/branch/main/SPToolbox-logo.png)
Application PowerShell avec interface graphique (WinForms) pour administrer, auditer et exporter des données depuis des sites SharePoint Online. Application PowerShell avec interface graphique (WinForms) pour administrer, auditer et exporter des données depuis des sites SharePoint Online.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 KiB