Skip to content
Snippets Groups Projects
Commit 0a2dd8ad authored by Arnaud Levy's avatar Arnaud Levy
Browse files

test

parent 9d232e76
No related branches found
Tags v0.9.11
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment