Skip to content

Commit

Permalink
back to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSuh-Q3 authored Mar 6, 2024
1 parent 1d5ca90 commit 241e2f6
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/updaterootfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
types: [published]

workflow_dispatch:
inputs:
ref-tags:
description: 'ref-tags'
required: true
default: 'v0.0.0'

jobs:
build:
Expand All @@ -27,9 +22,9 @@ jobs:
run: |
mkdir /opt/updaterootfs
cd /opt/updaterootfs
#URLS=`curl -s https://api.github.com/repos/PeterSuh-Q3/tcrpfriend/releases/tags/${{github.event.inputs.ref-tags}} | jq -r ".assets[] | select(.name | contains(\"${initrd-friend}\")) | .browser_download_url"`
#URLS="https://github.com/PeterSuh-Q3/tcrpfriend/releases/download/${{github.event.inputs.ref-tags}}/initrd-friend https://github.com/pocopico/tcrpfriend/releases/download/v0.0.0/bzImage-friend"
URLS="`curl -s https://api.github.com/repos/PeterSuh-Q3/tcrpfriend/releases/tags/${{github.event.inputs.ref-tags}} | jq -r -e .assets[].browser_download_url`"
#URLS=`curl -s https://api.github.com/repos/PeterSuh-Q3/tcrpfriend/releases/tags/v0.0.0 | jq -r ".assets[] | select(.name | contains(\"${initrd-friend}\")) | .browser_download_url"`
#URLS="https://github.com/PeterSuh-Q3/tcrpfriend/releases/download/v0.0.0/initrd-friend https://github.com/pocopico/tcrpfriend/releases/download/v0.0.0/bzImage-friend"
URLS="`curl -s https://api.github.com/repos/PeterSuh-Q3/tcrpfriend/releases/tags/v0.0.0 | jq -r -e .assets[].browser_download_url`"
for file in $URLS; do curl --insecure --silent --location "$file" -O ; done
ls -ltr
mkdir /opt/updaterootfs/temprd && cd /opt/updaterootfs/temprd
Expand Down

0 comments on commit 241e2f6

Please sign in to comment.