mirror of
https://github.com/AGWA/git-crypt.git
synced 2025-12-12 07:40:32 -08:00
6
.github/workflows/release-linux-arm64.yml
vendored
6
.github/workflows/release-linux-arm64.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt install libssl-dev
|
run: sudo apt install libssl-dev
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
@@ -32,13 +32,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: git-crypt-artifacts
|
name: git-crypt-artifacts
|
||||||
- name: Upload release asset
|
- name: Upload release asset
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const fs = require("fs").promises;
|
const fs = require("fs").promises;
|
||||||
const { repo: { owner, repo }, sha } = context;
|
const { repo: { owner, repo }, sha } = context;
|
||||||
await github.repos.uploadReleaseAsset({
|
await github.rest.repos.uploadReleaseAsset({
|
||||||
owner, repo,
|
owner, repo,
|
||||||
release_id: ${{ github.event.release.id }},
|
release_id: ${{ github.event.release.id }},
|
||||||
name: 'git-crypt-${{ github.event.release.name }}-linux-aarch64',
|
name: 'git-crypt-${{ github.event.release.name }}-linux-aarch64',
|
||||||
|
|||||||
6
.github/workflows/release-linux.yml
vendored
6
.github/workflows/release-linux.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt install libssl-dev
|
run: sudo apt install libssl-dev
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
@@ -32,13 +32,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: git-crypt-artifacts
|
name: git-crypt-artifacts
|
||||||
- name: Upload release asset
|
- name: Upload release asset
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const fs = require("fs").promises;
|
const fs = require("fs").promises;
|
||||||
const { repo: { owner, repo }, sha } = context;
|
const { repo: { owner, repo }, sha } = context;
|
||||||
await github.repos.uploadReleaseAsset({
|
await github.rest.repos.uploadReleaseAsset({
|
||||||
owner, repo,
|
owner, repo,
|
||||||
release_id: ${{ github.event.release.id }},
|
release_id: ${{ github.event.release.id }},
|
||||||
name: 'git-crypt-${{ github.event.release.name }}-linux-x86_64',
|
name: 'git-crypt-${{ github.event.release.name }}-linux-x86_64',
|
||||||
|
|||||||
6
.github/workflows/release-windows.yml
vendored
6
.github/workflows/release-windows.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Setup msys2
|
- name: Setup msys2
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
with:
|
with:
|
||||||
@@ -42,13 +42,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: git-crypt-artifacts
|
name: git-crypt-artifacts
|
||||||
- name: Upload release asset
|
- name: Upload release asset
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const fs = require("fs").promises;
|
const fs = require("fs").promises;
|
||||||
const { repo: { owner, repo }, sha } = context;
|
const { repo: { owner, repo }, sha } = context;
|
||||||
await github.repos.uploadReleaseAsset({
|
await github.rest.repos.uploadReleaseAsset({
|
||||||
owner, repo,
|
owner, repo,
|
||||||
release_id: ${{ github.event.release.id }},
|
release_id: ${{ github.event.release.id }},
|
||||||
name: 'git-crypt-${{ github.event.release.name }}-x86_64.exe',
|
name: 'git-crypt-${{ github.event.release.name }}-x86_64.exe',
|
||||||
|
|||||||
Reference in New Issue
Block a user