Skip to content

Commit

Permalink
separate git actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pardeike committed May 31, 2023
1 parent 8872470 commit e63a1d1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Add latest tag to new release
on:
release:
types: [published]

jobs:
run:
name: Add/update tag to new release
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@master

- name: Run latest-tag
uses: EndBug/latest-tag@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create mod release
name: Create a mod release
on:
push:
tags:
Expand All @@ -22,11 +22,6 @@ jobs:
- name: Build
run: dotnet build

- name: Run latest-tag
uses: EndBug/latest-tag@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: "Refresh tags"
id: tag
run: git fetch --tags --force
Expand Down

0 comments on commit e63a1d1

Please sign in to comment.