setup go
Some checks failed
Gitea Actions Demo / Release Go Binary (386, linux) (push) Failing after 5m30s
Gitea Actions Demo / Release Go Binary (386, windows) (push) Failing after 5m44s
Gitea Actions Demo / Release Go Binary (amd64, windows) (push) Has been cancelled
Gitea Actions Demo / Release Go Binary (arm64, darwin) (push) Has been cancelled
Gitea Actions Demo / Release Go Binary (arm64, linux) (push) Has been cancelled
Gitea Actions Demo / Release Go Binary (amd64, darwin) (push) Has been cancelled
Gitea Actions Demo / Release Go Binary (amd64, linux) (push) Has been cancelled

This commit is contained in:
yzqzss 2024-06-09 02:38:58 +08:00
parent 6b8b9217f7
commit e9b59f1fe0

View File

@ -6,20 +6,6 @@ on:
- '*'
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
@ -46,7 +32,11 @@ jobs:
upload: false
# output is release_asset_dir
- name: release-action
- name: setup go
uses: actions/setup-go@v5
with:
go-version: '>=1.22.3'
- name: release-action
id: release-action
uses: https://gitea.com/actions/release-action@main
with: