Skip to content

Commit

Permalink
Change from Travis CI to GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nishinji committed Jun 20, 2024
1 parent 7863237 commit b04aaf9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Create Release

on:
push:

jobs:
create-release:
runs-on: ubuntu-latest

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

- name: Get commit number
id: commit_number
run: |
commit_message=$(git log -1 --pretty=%B)
number=$(echo "$commit_message" | sed -n 's/^Build: \([0-9]\+\)$/\1/p')
echo "Build_Variable=$number" >> $GITHUB_ENV
- name: Create Release
uses: "nishinji/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ env.Build_Variable }}"
prerelease: false
title: "Build: ${{ env.Build_Variable }}"
files: |
Builds/*
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
This repository is used to store builds generated by Travis CI.
# Vita3K-Builds
This repository is used to store builds generated by GitHub CI.

0 comments on commit b04aaf9

Please sign in to comment.