mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 21:49:52 +07:00
custom: rework
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
7f03145d85
commit
d3bf99a0b3
16
.github/workflows/custom.yml
vendored
16
.github/workflows/custom.yml
vendored
@ -142,6 +142,7 @@ jobs:
|
||||
DSM_FILE="${PAT_HASH}.tar"
|
||||
DSM_URL="https://raw.githubusercontent.com/AuxXxilium/arc-dsm/main/files/${MODEL/+/%2B}/${PRODUCTVER:0:3}/${PAT_HASH}.tar"
|
||||
sudo curl -skL "${DSM_URL}" -o "/tmp/${DSM_FILE}"
|
||||
[ -f "/tmp/${DSM_FILE}" ] && echo "dsm: download successful" || echo "dsm: file not found" && exit 1
|
||||
sudo mkdir -p "/tmp/p3/users"
|
||||
sudo mv -f "/tmp/${DSM_FILE}" "/tmp/p3/users/${DSM_FILE}"
|
||||
echo "Syncing files"
|
||||
@ -246,14 +247,6 @@ jobs:
|
||||
If this will not work, do not use customized Versions!
|
||||
----
|
||||
|
||||
- name: Close Issues
|
||||
if: success()
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: 'close-issue'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
|
||||
- name: Update Comment Fail
|
||||
if: failure()
|
||||
uses: actions-cool/issues-helper@v3
|
||||
@ -270,6 +263,13 @@ jobs:
|
||||
If this will not work, do not use customized Versions!
|
||||
----
|
||||
|
||||
- name: Close Issues
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: 'close-issue'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
|
||||
comment:
|
||||
if: github.event.label.name == 'bug'
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user