Skip to content

Commit

Permalink
Build on latest ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
xarantolus committed Jan 16, 2024
1 parent 35df907 commit b4499dd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -16,20 +16,20 @@ jobs:

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Download tags which the git command needs later
run: git fetch --prune --unshallow

- name: Runnning build/generation script
shell: bash
run: |
bash ./release.sh
- name: Generate tag name
run: echo "TAG_NAME=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
run: echo "TAG_NAME=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Generate release title
run: echo "RTITLE=$(git log -n 1 --oneline | cut -d' ' -f2- -)" >> $GITHUB_ENV

- name: Upload release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -40,12 +40,12 @@ jobs:
body_path: release.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: Delete older releases
uses: dev-drprasad/[email protected]
with:
keep_latest: 7
delete_tags: true
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b4499dd

Please sign in to comment.