continue #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Image Builder | |
on: | |
push: | |
jobs: | |
pre-release: | |
runs-on: ubuntu-latest | |
steps: | |
- run: .github/workflows/copy.sh | |
- uses: usimd/pi-gen-action@v1 | |
with: | |
image-name: ucia | |
verbose-output: true | |
enable-ssh: 1 | |
# keyboard-keymap: fr | |
# # keyboard-layout: | |
disable-first-boot-user-rename: 1 | |
hostname: ucia | |
username: pi | |
password: 'rosa' | |
release: buster | |
wpa-essid: 'ucia' | |
wpa-password : 'rosa-ucia' | |
stage: stage0 stage1 stage2 stage3 stage4 stage-install | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ucia | |
path: ${{ steps.build.outputs.image-path }} | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# # Supprimer l'ancienne pré-release (Pseudo-code) | |
# - name: Delete previous pre-release | |
# run: | | |
# # Utilisez l'API GitHub ou un script pour trouver et supprimer l'ancienne pré-release | |
# # Créer une nouvelle pré-release (Pseudo-code) | |
# - name: Create new pre-release | |
# run: | | |
# # Générer un nouveau tag unique | |
# # Utilisez l'API GitHub pour créer une nouvelle pré-release avec ce tag |