Change to supported Github Action module (#4446)

This commit is contained in:
Igor Pečovnik 2022-11-16 11:31:50 +01:00 committed by GitHub
parent ed2c6d3c67
commit 6ef02ba6c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 1 deletions

View File

@ -166,11 +166,12 @@ jobs:
with:
fetch-depth: 1
- uses: dev-drprasad/delete-tag-and-release@v0.2.0
- uses: ClementTsang/delete-tag-and-release@v0.3.1
if: ${{ github.repository_owner == 'Armbian' && github.event.inputs.choice != 'stable' && github.event.inputs.choice != 'rc' }}
with:
delete_release: true
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -33,6 +33,7 @@ jobs:
uploading: "false"
runner: "fast"
artifacts: "true"
reference: ${{ github.event.pull_request.head.sha }}
secrets:
@ -43,3 +44,17 @@ jobs:
SCRIPTS_ACCESS_TOKEN: ${{ secrets.SCRIPTS_ACCESS_TOKEN }}
KEY_TORRENTS: ${{ secrets.KEY_TORRENTS }}
KNOWN_HOSTS_UPLOAD: ${{ secrets.KNOWN_HOSTS_UPLOAD }}
# Repo:
# needs: [Check,Build]
# #if: ${{ github.repository_owner == 'Armbian' && contains( github.event.pull_request.labels.*.name, 'Ready :arrow_right:') }}
# uses: armbian/scripts/.github/workflows/repo.yml@master
# secrets:
# GPG_KEY1: ${{ secrets.GPG_KEY1 }}
# GPG_PASSPHRASE1: ${{ secrets.GPG_PASSPHRASE1 }}
# GPG_KEY2: ${{ secrets.GPG_KEY2 }}
# GPG_PASSPHRASE2: ${{ secrets.GPG_PASSPHRASE2 }}
# SCRIPTS_ACCESS_TOKEN: ${{ secrets.SCRIPTS_ACCESS_TOKEN }}
# KEY_TORRENTS: ${{ secrets.KEY_TORRENTS }}
# KNOWN_HOSTS_UPLOAD: ${{ secrets.KNOWN_HOSTS_UPLOAD }}

View File

@ -358,3 +358,18 @@ jobs:
SCRIPTS_ACCESS_TOKEN: ${{ secrets.SCRIPTS_ACCESS_TOKEN }}
KEY_TORRENTS: ${{ secrets.KEY_TORRENTS }}
KNOWN_HOSTS_UPLOAD: ${{ secrets.KNOWN_HOSTS_UPLOAD }}
Clean:
name: Clean
needs: [Bump]
runs-on: Linux
if: ${{ success() && github.repository_owner == 'Armbian' }}
steps:
- name: Cleaning
uses: geekyeggo/delete-artifact@v2
with:
name: changes
failOnError: false