addpatch: electron33 33.0.0-1 #4838
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
on: pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: archlinux/archlinux:latest | |
steps: | |
- name: Install dependencies | |
run: pacman -Syu --noconfirm devtools patch binutils sudo expac | |
- name: Fix git unsafe repository | |
run: git config --global --add safe.directory /__w/archriscv-packages/archriscv-packages | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Add remote | |
run: | | |
git remote add upstream https://github.com/felixonmars/archriscv-packages.git | |
git fetch upstream master | |
- name: Test patch | |
run: bash test.sh | |
- name: Upload patch.rej | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: patch.rej | |
path: '**/*.rej' | |
if-no-files-found: ignore |