Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
3734143548 | |||
7858f1c55b | |||
07a49d6cd4 | |||
c8e8b45099 |
@@ -7,13 +7,22 @@ on:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.21
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 'GiteaAdmin/hello_gitea'
|
||||
path: 'hello_gitea'
|
||||
token: ${{ secrets.GITEATOKEN }}
|
||||
ref: ${{ github.ref }}
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
git clone https://oauth2:${{ secrets.GITEATOKEN }}@direct-dev.ru/gitea/GiteaAdmin/hello_gitea.git hello_gitea
|
||||
cd hello_gitea
|
||||
git checkout ${{ github.ref }}
|
||||
|
||||
- name: Setup Go
|
||||
run: |
|
||||
# Install jq for JSON parsing
|
||||
apt-get update && apt-get install -y jq
|
||||
git --version
|
||||
go version
|
||||
jq --version
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user