workflow update
This commit is contained in:
parent
e170ba0ec1
commit
cb0465cf91
1 changed files with 8 additions and 8 deletions
16
.github/workflows/build.yaml
vendored
16
.github/workflows/build.yaml
vendored
|
@ -1,13 +1,14 @@
|
|||
# This workflow will build an Arch Linux ISO file with the commit on it
|
||||
name: Build Arch ISO with ArchInstall Commit
|
||||
name: build parchiso per release
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- created
|
||||
|
||||
env:
|
||||
api_key: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: ${{ github.event.repository.name }}
|
||||
release_name: ${{ github.event.release.name }}
|
||||
release_name: ${{ github.ref_name }}
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -15,16 +16,15 @@ jobs:
|
|||
image: archlinux:latest
|
||||
options: --privileged
|
||||
steps:
|
||||
- uses: crazy-max/ghaction-import-gpg@v4
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Packages via Pacman
|
||||
run: pacman -Sy; pacman --noconfirm -S git archiso python python-pip
|
||||
run: pacman -Sy; pacman --noconfirm -S git archiso python python-pip reflector
|
||||
- name: Install Python packages via pip
|
||||
run: pip install -U pip pyGithub
|
||||
- name: Change Arch docker mirror
|
||||
run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
||||
- name: Build image
|
||||
run: mkarchiso -v iso/
|
||||
- name: Upload iso to the release
|
||||
run: python tools/upload_assest.py
|
||||
run: python tools/upload_asset.py
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue