Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Theme
Commits
0a2dd8ad
Commit
0a2dd8ad
authored
2 years ago
by
Arnaud Levy
Browse files
Options
Downloads
Patches
Plain Diff
test
parent
9d232e76
No related branches found
Branches containing commit
Tags
v0.9.11
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/version.yml
+35
-18
35 additions, 18 deletions
.github/workflows/version.yml
with
35 additions
and
18 deletions
.github/workflows/version.yml
+
35
−
18
View file @
0a2dd8ad
name
:
Write version to file
on
:
release
:
types
:
[
published
]
name
:
Write version to file
# jobs:
# context:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: GitHub Tag Name
# run: |
# echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
# echo "Tag name from github.ref_name: ${{ github.ref_name }}"
# - name: Get current version
# uses: dolittle/write-version-to-file-action@v2
# with:
# version: "$GITHUB_REF_NAME"
# path: ./.osuny-theme-version
# user-email: osuny@noesya.coop
# user-name: osuny-bot
jobs
:
context
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
GitHub Tag Name
run
:
|
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
-
name
:
Get current version
uses
:
dolittle/write-version-to-file-action@v2
with
:
version
:
"
$GITHUB_REF_NAME"
path
:
./.osuny-theme-version
user-email
:
osuny@noesya.coop
user-name
:
osuny-bot
\ No newline at end of file
resources
:
name
:
Update resources
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v1
-
uses
:
actions/setup-node@v1
-
name
:
Fetch resources
run
:
"
$GITHUB_REF_NAME"
-
name
:
Update resources
uses
:
test-room-7/action-update-file@v1
with
:
file-path
:
./.osuny-theme-version
commit-msg
:
Write Osuny theme version
github-token
:
${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment