mirror of
https://github.com/simongregorebner/gitea-pages.git
synced 2025-04-20 01:40:03 +02:00
adding an upload action step
This commit is contained in:
parent
9db7f17f3e
commit
4788d57107
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -4,8 +4,8 @@ name: Build and Release
|
||||
# on: [push]
|
||||
on:
|
||||
push:
|
||||
# tags:
|
||||
# - 'v*.*.*'
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
|
||||
jobs:
|
||||
build-and-release:
|
||||
@ -19,10 +19,10 @@ jobs:
|
||||
- run: go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
|
||||
- run: xcaddy build --with github.com/simongregorebner/caddy-gitea=.
|
||||
|
||||
# - uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: ${{ github.event.repository.name }}_${{ matrix.go_os }}
|
||||
# path: ${{ github.event.repository.name }}_${{ matrix.go_os }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: caddy_${{ github.ref }}
|
||||
path: caddy
|
||||
# - name: Create release
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user