Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Batfoxkid committed Dec 3, 2020
1 parent 7dc7408 commit cc84e15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- name: Environments
run: |
echo ::set-env name=SM_VERSION::1.10
echo "SM_VERSION=1.10" >> $GITHUB_ENV
- name: Install
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- name: Environments
run: |
echo ::set-env name=SM_VERSION::1.10
echo "SM_VERSION=1.10" >> $GITHUB_ENV
- name: Install
run: |
Expand Down
4 changes: 3 additions & 1 deletion scripts/date.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
SEC=$(date "+%s")
MIN=$(expr $((SEC)) / 60)
echo ::set-env name=DATE_VERSION::$MIN
echo "DATA_VERSION<<EOF" >> $GITHUB_ENV
echo $MIN >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV

0 comments on commit cc84e15

Please sign in to comment.