Aggiornamento per forgejo.
This commit is contained in:
parent
542b22a3b9
commit
075bcacad5
1 changed files with 10 additions and 10 deletions
|
@ -22,18 +22,18 @@ jobs:
|
|||
- name: Ri-refreshing packages
|
||||
run: /paruw.sh "paru -Syy"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
- name: Fix permissions
|
||||
run: /fixperms.sh
|
||||
- name: Compile package
|
||||
run: /paruw.sh "paru -Bi --noconfirm ${{ gitea.workspace }}"
|
||||
- name: Setup go for publishing
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '>=1.20.1'
|
||||
run: /paruw.sh "paru -B --noconfirm ${{ gitea.workspace }} --localrepo"
|
||||
- name: Dislocate artifacts
|
||||
run:
|
||||
- mkdir -p dist/release
|
||||
- find -iname \*.pkg.tar.zst -exec mv {} dist/release \;
|
||||
- name: Upload Package Archive
|
||||
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||
uses: actions/forgejo-release@v2.6.0
|
||||
with:
|
||||
files: "*.pkg.tar.zst"
|
||||
api_key: ${{ secrets.APITOKEN_RELEASE }}
|
||||
md5sum: true
|
||||
direction: upload
|
||||
release-dir: dist/release
|
||||
token: ${{ secrets.APITOKEN_RELEASE }}
|
Loading…
Add table
Add a link
Reference in a new issue