upd for gitea

This commit is contained in:
chase 2023-04-24 05:18:21 -05:00
parent e834b1c707
commit 1691ac32c0
No known key found for this signature in database
GPG Key ID: 9EC29E797878008C
8 changed files with 3 additions and 63 deletions

View File

@ -1,8 +0,0 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10

View File

@ -1,22 +0,0 @@
---
name: "🔒 Lock Resolved Issues/PRs"
on:
pull_request:
types:
- closed
issues:
types:
- closed
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: chxseh/action-lock-unlock@v1.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.pull_request.number || github.event.issue.number }}
lock: true
lock-reason: resolved

View File

@ -1,21 +0,0 @@
---
name: "🔓 Unlock Reopened Issues/PRs"
on:
pull_request:
types:
- reopened
issues:
types:
- reopened
jobs:
unlock:
runs-on: ubuntu-latest
steps:
- uses: chxseh/action-lock-unlock@v1.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.pull_request.number || github.event.issue.number }}
lock: false

View File

@ -1,19 +1,10 @@
<div align="center">
<h1><a href="https://chse.dev/redists">Redist Installer</a><br>
<a href="https://chse.dev/donate"><img alt="Donate" src="https://img.shields.io/badge/Donate_To_This_Project-brightgreen"></a>
<a href="https://chse.dev/redists"><img alt="GitHub Downloads" src="https://img.shields.io/github/downloads/chxseh/redist-installer/total"></a>
<a href="https://github.com/ChxseH/redist-installer/actions/workflows/release.yml"><img alt="GitHub Actions Status" src="https://github.com/ChxseH/redist-installer/actions/workflows/release.yml/badge.svg"></a>
<a href="https://github.com/chxseh/redist-installer/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/chxseh/redist-installer"></a>
<!-- <a href="https://github.com/chxseh/redist-installer/issues"><img alt="Issues" src="https://img.shields.io/github/issues/chxseh/redist-installer"></a> -->
<a href="https://github.com/chxseh/redist-installer/pulls"><img alt="Pull Requests" src="https://img.shields.io/github/issues-pr/chxseh/redist-installer"></a>
<a href="https://github.com/chxseh/redist-installer/network"><img alt="Forks" src="https://img.shields.io/github/forks/chxseh/redist-installer"></a>
<a href="https://github.com/chxseh/redist-installer/blob/main/LICENSE.md"><img alt="License" src="https://img.shields.io/github/license/chxseh/redist-installer"></a>
</h1></div>
Installs common Redist programs for Windows.
[Want an offline installer? Download here.](https://chse.dev/offlineredists)
```powershell
irm chse.dev/ri | iex
```

View File

@ -23,9 +23,9 @@ if exist "7za.exe" (
:onlineInstall
cd %temp%\Redist-Installer
echo Downloading 1/2...
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/chxseh/Redist-Installer/releases/download/latest/7za.exe', '7za.exe')"
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://dl.chse.dev/downloadFile?id=zlc4SQ9jnLNuz8c', '7za.exe')"
echo Downloading 2/2...
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/chxseh/Redist-Installer/releases/download/latest/redists.zip', 'redists.zip')"
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://dl.chse.dev/downloadFile?id=2y935FyZSVIPUZF', 'redists.zip')"
:offlineInstall
cd %temp%\Redist-Installer

View File

@ -1,4 +1,4 @@
$url = "https://github.com/chxseh/redist-installer/releases/download/latest/Redist-Installer.bat"
$url = "https://dl.chse.dev/downloadFile?id=irdm2Pjjf4FrkG3" # Redist-Installer.bat
$temp = [Environment]::GetEnvironmentVariable("TEMP")
$file = "$temp\Redist-Installer.bat"