Skip to content

CI: Fix inner directory name of recompressed tarball #220

CI: Fix inner directory name of recompressed tarball

CI: Fix inner directory name of recompressed tarball #220

Workflow file for this run

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