PKBGUILD: Upgrade to extra/chromium and ungoogled-chromium release 13… #245
Workflow file for this run
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: OBS Upload | |
on: | |
workflow_dispatch: | |
inputs: | |
repository-type: | |
description: "Which OBS repository to use" | |
type: choice | |
required: true | |
options: | |
- "development" | |
- "production" | |
push: | |
tags: | |
- '*' | |
jobs: | |
obs-upload: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- name: Convert from shallow repository to full repository | |
run: git fetch --unshallow | |
- name: Initialize ungoogled-chromium submodule | |
run: git submodule update --init --recursive | |
- name: Install extra packages | |
run: sudo apt install -y xmlstarlet | |
- name: Run OBS Upload Script | |
env: | |
OBS_API_USERNAME: ${{ secrets.OBS_API_USERNAME }} | |
OBS_API_PASSWORD: ${{ secrets.OBS_API_PASSWORD }} | |
OBS_API_PROJECT: ${{ secrets.OBS_API_PROJECT }} | |
OBS_REPOSITORY_TYPE: ${{ github.event.inputs.repository-type }} | |
run: .github/workflows/obs-upload.bash |