Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
07a49d6cd4 | |||
c8e8b45099 |
@@ -7,13 +7,18 @@ on:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.21-alpine
|
||||
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: |
|
||||
go version
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user