1
1
Fork 0
mirror of https://gitea.com/gitea/tea synced 2024-05-09 01:06:06 +02:00

Compare commits

...

7 Commits

Author SHA1 Message Date
techknowlogick 5236a89d4c Update .gitea/workflows/test-pr.yml 2024-04-08 16:45:15 +00:00
techknowlogick 48d2997a63 Update .gitea/workflows/test-pr.yml 2024-04-08 16:45:05 +00:00
techknowlogick 75a7d4b7cc Update .gitea/workflows/release-tag.yml 2024-04-08 16:43:59 +00:00
techknowlogick 1e3043ce6f Update .gitea/workflows/release-nightly.yml 2024-04-08 16:42:23 +00:00
techknowlogick 218b991069 shorter actions path 2024-04-08 16:41:04 +00:00
techknowlogick 16a3594474 Update .goreleaser.yaml 2024-04-08 16:37:08 +00:00
techknowlogick b1b31da7c8 Update .goreleaser.yaml 2024-04-08 16:34:15 +00:00
4 changed files with 12 additions and 19 deletions

View File

@ -12,18 +12,17 @@ jobs:
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: setup go
uses: https://github.com/actions/setup-go@v5
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.1'
- name: import gpg
id: import_gpg
uses: https://github.com/crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
- name: goreleaser
uses: https://github.com/goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser-pro
version: latest
@ -37,10 +36,9 @@ jobs:
S3_BUCKET: ${{ secrets.AWS_BUCKET }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GPGSIGN_PASSPHRASE: ${{ secrets.GPGSIGN_PASSPHRASE }}
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release-image:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
env:
DOCKER_ORG: gitea
DOCKER_LATEST: nightly

View File

@ -13,19 +13,18 @@ jobs:
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: setup go
uses: https://github.com/actions/setup-go@v5
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.1'
go-version-file: 'go.mod'
- name: import gpg
id: import_gpg
uses: https://github.com/crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0
- name: goreleaser
uses: https://github.com/goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser-pro
version: latest

View File

@ -1,7 +1,6 @@
name: check-and-test
on:
- push
on:
- pull_request
jobs:
@ -9,10 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup go
uses: https://github.com/actions/setup-go@v5
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.1'
go-version-file: 'go.mod'
- name: lint and build
run: |
make clean

View File

@ -96,9 +96,7 @@ checksum:
extra_files:
- glob: ./**.xz
env_files:
# override gitea actions which passes GITHUB_TOKEN to set env var as null
github_token: /dev/null
force_token: gitea
signs:
-