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
|
- name: Ri-refreshing packages
|
||||||
run: /paruw.sh "paru -Syy"
|
run: /paruw.sh "paru -Syy"
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: Fix permissions
|
- name: Fix permissions
|
||||||
run: /fixperms.sh
|
run: /fixperms.sh
|
||||||
- name: Compile package
|
- name: Compile package
|
||||||
run: /paruw.sh "paru -Bi --noconfirm ${{ gitea.workspace }}"
|
run: /paruw.sh "paru -B --noconfirm ${{ gitea.workspace }} --localrepo"
|
||||||
- name: Setup go for publishing
|
- name: Dislocate artifacts
|
||||||
uses: actions/setup-go@v4
|
run:
|
||||||
with:
|
- mkdir -p dist/release
|
||||||
go-version: '>=1.20.1'
|
- find -iname \*.pkg.tar.zst -exec mv {} dist/release \;
|
||||||
- name: Upload Package Archive
|
- name: Upload Package Archive
|
||||||
uses: https://gitea.com/actions/gitea-release-action@v1
|
uses: actions/forgejo-release@v2.6.0
|
||||||
with:
|
with:
|
||||||
files: "*.pkg.tar.zst"
|
direction: upload
|
||||||
api_key: ${{ secrets.APITOKEN_RELEASE }}
|
release-dir: dist/release
|
||||||
md5sum: true
|
token: ${{ secrets.APITOKEN_RELEASE }}
|
Loading…
Add table
Add a link
Reference in a new issue