Skip to content

Commit b4499dd

Browse files
committed
Build on latest ubuntu
1 parent 35df907 commit b4499dd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: .github/workflows/build.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build:
99
name: Build
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- name: Set up Go 1.x
1313
uses: actions/setup-go@v2
@@ -16,20 +16,20 @@ jobs:
1616

1717
- name: Check out code into the Go module directory
1818
uses: actions/checkout@v2
19-
19+
2020
- name: Download tags which the git command needs later
2121
run: git fetch --prune --unshallow
2222

2323
- name: Runnning build/generation script
2424
shell: bash
2525
run: |
2626
bash ./release.sh
27-
27+
2828
- name: Generate tag name
29-
run: echo "TAG_NAME=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
29+
run: echo "TAG_NAME=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
3030
- name: Generate release title
3131
run: echo "RTITLE=$(git log -n 1 --oneline | cut -d' ' -f2- -)" >> $GITHUB_ENV
32-
32+
3333
- name: Upload release
3434
uses: softprops/action-gh-release@v1
3535
with:
@@ -40,12 +40,12 @@ jobs:
4040
body_path: release.md
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
44-
43+
44+
4545
- name: Delete older releases
4646
uses: dev-drprasad/[email protected]
4747
with:
4848
keep_latest: 7
49-
delete_tags: true
49+
delete_tags: true
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)